-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (50 loc) · 1.35 KB
/
c-cpp.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
50
51
52
53
54
name: Builds
on: push
jobs:
Quality:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install tools
run: |
sudo apt-get update
sudo apt-get install clang-tools clang-format shellcheck
- name: submodules
run: git submodule update --init --recursive
- name: shellcheck
run: make shellcheck
- name: version
run: make version
- name: clang-format
run: make ci_check_format
- name: scan-build
run: make scan
Tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install tools
run: |
sudo apt-get update
sudo apt-get install gcc
- name: submodules
run: git submodule update --init --recursive
- name: unit-test
run: make test
STM32U5:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install tools
run: |
sudo apt-get update
sudo apt-get install gcc-arm-none-eabi
- name: submodules
run: git submodule update --init --recursive
- name: version
run: make version
- name: debug
run: make -C examples/stm32u5 all