-
Notifications
You must be signed in to change notification settings - Fork 22
50 lines (40 loc) · 1.03 KB
/
CI-build.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: CI
on:
push:
pull_request:
jobs:
build:
name: build-linux
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install build package dependencies
run: |
sudo apt-get update
sudo apt-get install gcc-arm-none-eabi
- name: Build dependencies
run: |
echo "Number of processors:" `nproc`
make get-deps -j `nproc`
- name: Build CCS32Clara firmware
run: |
make clean all
- uses: actions/upload-artifact@v4
with:
name: CCS32Clara firmware binary
path: stm32_ccs.bin
- uses: actions/upload-artifact@v4
with:
name: CCS32Clara firmware hex
path: stm32_ccs.hex
# Unit tests are currently broken so don't build and run them for now
#- name: Build unit tests on host
# run: |
# make -C test
#
# - name: Run unit tests on host
# run: |
# test/test_sine