-
Notifications
You must be signed in to change notification settings - Fork 57
52 lines (47 loc) · 1.57 KB
/
nightly.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
name: nightly
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
buildmgr:
uses: Open-CMSIS-Pack/devtools/.github/workflows/buildmgr.yml@main
packchk:
needs: [buildmgr]
uses: Open-CMSIS-Pack/devtools/.github/workflows/packchk.yml@main
packgen:
needs: [packchk]
uses: Open-CMSIS-Pack/devtools/.github/workflows/packgen.yml@main
projmgr:
needs: [packgen]
uses: Open-CMSIS-Pack/devtools/.github/workflows/projmgr.yml@main
svdconv:
needs: [projmgr]
uses: Open-CMSIS-Pack/devtools/.github/workflows/svdconv.yml@main
test_libs:
needs: [svdconv]
uses: Open-CMSIS-Pack/devtools/.github/workflows/test_libs.yml@main
coverage:
runs-on: ubuntu-22.04
needs: [ buildmgr, packchk, packgen, projmgr, svdconv, test_libs ]
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install \
lcov
- name: Download coverage report
uses: actions/download-artifact@v3
with:
name: coverage-report
path: coverage/
- name: Consolidate coverage data
run: |
lcov --rc lcov_branch_coverage=1 --add-tracefile coverage_packchk.info -a coverage_packgen.info -a coverage_projmgr.info -a coverage_buildmgr.info -a coverage_svdconv.info -o merged_coverage.info
working-directory: coverage/
- name: Archive merged coverage report
uses: actions/upload-artifact@v3
with:
name: merged-coverage-report
path: ./coverage/merged_coverage.info
if-no-files-found: error