-
Notifications
You must be signed in to change notification settings - Fork 7
35 lines (31 loc) · 963 Bytes
/
nqc_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: NQC CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
steps:
- name: Get the latest from version control
uses: actions/checkout@v4
- name: Update build environment
run: sudo apt-get --assume-yes update
- name: Install build dependencies
run: sudo apt-get --assume-yes install flex bison emscripten
- name: Execute the build
run: make DEFAULT_SERIAL_NAME='"/dev/ttyS0"' DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' DEFAULT_PORT_NAME='"usb"'
- name: Archive native build artifacts
uses: actions/upload-artifact@v4
with:
name: nqc-native-${{ matrix.os }}
path: build/bin/
- name: Archive WebAssembly build artifacts
uses: actions/upload-artifact@v4
with:
name: nqc-WebAssembly-${{ matrix.os }}
path: build/wasm/