|
24 | 24 | - '.github/workflows/buildmgr.yml' |
25 | 25 | - '.github/matrix_includes_buildmgr.json' |
26 | 26 | - 'CMakeLists.txt' |
27 | | - - 'libs/crossplatform/**' |
28 | | - - 'libs/errlog/**' |
29 | | - - 'libs/xmlreader/**' |
30 | | - - 'libs/xmltree/**' |
31 | | - - 'libs/xmltreeslim/**' |
32 | | - - 'libs/rteutils/**' |
33 | | - - 'libs/rtemodel/**' |
34 | | - - 'libs/rtefsutils/**' |
| 27 | + - 'libs/**' |
35 | 28 | - 'tools/buildmgr/**' |
36 | 29 | - '!**/docs/**/*' |
37 | 30 | - '!**/*.md' |
|
55 | 48 | workflow_name: buildmgr |
56 | 49 |
|
57 | 50 | build: |
| 51 | + name: build (${{ matrix.runs_on }}, ${{ matrix.arch }}) |
58 | 52 | needs: [ setup, matrix_prep ] |
59 | 53 | runs-on: ${{ matrix.runs_on }} |
60 | 54 | timeout-minutes: 15 |
|
96 | 90 | github.event_name == 'release' && |
97 | 91 | (startsWith(matrix.runs_on, 'macos') || startsWith(matrix.runs_on, 'ubuntu')) |
98 | 92 | run: | |
99 | | - binary_path="./build/tools/buildmgr/cbuildgen/${{ matrix.target }}-${{ matrix.arch }}/Release/cbuildgen${{ matrix.binary_extension }}" |
| 93 | + binary_path="./build/tools/buildmgr/cbuildgen/${{ matrix.target }}-${{ matrix.arch }}/Release/cbuildgen${{ matrix.binary_extension }}" |
100 | 94 | echo "Stripping binary at: $binary_path" |
101 | 95 | # Use appropriate strip tool based on architecture and target |
102 | 96 | if [[ "${{ matrix.arch }}" == "arm64" && "${{ matrix.target }}" == "linux" ]]; then |
@@ -164,7 +158,7 @@ jobs: |
164 | 158 | id: var |
165 | 159 | run: | |
166 | 160 | echo "retention_days=$(echo '${{ (!github.event.repository.private && (github.event_name == 'push' || github.event.schedule != '')) && '7' || '1' }}')" >> $GITHUB_OUTPUT |
167 | | - |
| 161 | +
|
168 | 162 | - name: Upload documentation |
169 | 163 | uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
170 | 164 | with: |
@@ -338,10 +332,11 @@ jobs: |
338 | 332 | tag: ${{ github.ref }} |
339 | 333 | overwrite: true |
340 | 334 |
|
341 | | - tests: |
| 335 | + test: |
342 | 336 | needs: [ setup, matrix_prep, create_installer ] |
343 | 337 | timeout-minutes: 15 |
344 | 338 | runs-on: ${{ matrix.runs_on }} |
| 339 | + name: test (${{ matrix.runs_on }}, ${{ matrix.arch }}) |
345 | 340 | env: |
346 | 341 | arm_gcc_install_base: ${{ matrix.arm_gcc_install_base }} |
347 | 342 | CI_CBUILD_DEB_PKG: ${{ github.workspace }} |
@@ -631,6 +626,7 @@ jobs: |
631 | 626 | needs: [ matrix_prep, create_installer ] |
632 | 627 | timeout-minutes: 15 |
633 | 628 | runs-on: ${{ matrix.runs_on }} |
| 629 | + name: sanity check native (${{ matrix.runs_on }}, ${{ matrix.arch }}) |
634 | 630 | env: |
635 | 631 | CMSIS_PACK_ROOT: ${{ github.workspace }}/packs |
636 | 632 | AC6_TOOLCHAIN_ROOT: "" |
@@ -669,6 +665,7 @@ jobs: |
669 | 665 | shell: bash |
670 | 666 | run: | |
671 | 667 | ${{ github.workspace }}/cbuild/bin/cbuildgen | grep "(cbuildgen): Build Process Manager" |
| 668 | +
|
672 | 669 | sanity-check-docker: |
673 | 670 | needs: create_installer |
674 | 671 | timeout-minutes: 15 |
@@ -717,7 +714,7 @@ jobs: |
717 | 714 |
|
718 | 715 | test-results-preparation: |
719 | 716 | name: "Publish Tests Results" |
720 | | - needs: [ tests ] |
| 717 | + needs: [ test ] |
721 | 718 | runs-on: ubuntu-22.04 |
722 | 719 | steps: |
723 | 720 | - name: Harden Runner |
|
0 commit comments