-
Notifications
You must be signed in to change notification settings - Fork 90
65 lines (60 loc) · 1.51 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Build
on:
push:
pull_request:
env:
CTEST_OUTPUT_ON_FAILURE: true
jobs:
fsw:
runs-on: ubuntu-latest
container:
image: ivvitc/nos3-64:20241010
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: recursive
- name: config
run: make config
- name: build
run: make build-test
- name: test
run: make test-fsw
sim:
runs-on: ubuntu-latest
container:
image: ivvitc/nos3-64:20241010
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: recursive
- name: config
run: make config
- name: build
run: make build-sim
coverage:
runs-on: ubuntu-latest
container:
image: ivvitc/nos3-64:20241010
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: recursive
- name: Update
run: apt-get update
- name: install dependencies
run: apt-get install -y gcc lcov
- name: config
run: make config
- name: build-test
run: make build-test
- name: make test-fsw
run: make coverage
- name: Generate Coverage Report
run: make gcov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: 040717d0-b624-470e-be41-d08720135088