@@ -13,28 +13,37 @@ jobs:
1313 if : github.repository == 'Open-CMSIS-Pack/devtools'
1414 uses : ./.github/workflows/buildmgr.yml
1515 secrets : inherit
16+
1617 packchk :
17- needs : [buildmgr]
18+ if : github.repository == 'Open-CMSIS-Pack/devtools'
1819 uses : ./.github/workflows/packchk.yml
1920 secrets : inherit
21+
2022 packgen :
21- needs : [packchk]
23+ if : github.repository == 'Open-CMSIS-Pack/devtools'
2224 uses : ./.github/workflows/packgen.yml
2325 secrets : inherit
26+
2427 projmgr :
25- needs : [packgen]
28+ if : github.repository == 'Open-CMSIS-Pack/devtools'
2629 uses : ./.github/workflows/projmgr.yml
2730 secrets : inherit
31+
2832 svdconv :
29- needs : [projmgr]
33+ if : github.repository == 'Open-CMSIS-Pack/devtools'
3034 uses : ./.github/workflows/svdconv.yml
3135 secrets : inherit
36+
3237 test_libs :
33- needs : [svdconv]
38+ if : github.repository == 'Open-CMSIS-Pack/devtools'
3439 uses : ./.github/workflows/test_libs.yml
40+ secrets : inherit
41+
3542 coverage :
43+ if : github.repository == 'Open-CMSIS-Pack/devtools'
3644 runs-on : ubuntu-22.04
3745 needs : [ buildmgr, packchk, packgen, projmgr, svdconv, test_libs ]
46+
3847 steps :
3948 - name : Harden Runner
4049 if : ${{ !github.event.repository.private }}
4554 - name : Install dependencies
4655 run : |
4756 sudo apt-get update
48- sudo apt-get install \
49- lcov
57+ sudo apt-get install -y --no-install-recommends lcov
5058
5159 - name : Download coverage report
5260 uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
5765
5866 - name : Consolidate coverage data
5967 run : |
60- 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
68+ lcov --rc lcov_branch_coverage=1 \
69+ --add-tracefile coverage_packchk.info \
70+ -a coverage_packgen.info \
71+ -a coverage_projmgr.info \
72+ -a coverage_buildmgr.info \
73+ -a coverage_svdconv.info \
74+ -o merged_coverage.info
6175 working-directory : coverage/
6276
6377 - name : Archive merged coverage report
0 commit comments