File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515jobs :
1616 build-and-run-linux :
1717 name : Build and Run
18- runs-on : " ocre- raspberrypi"
18+ runs-on : raspberrypi-runner
1919 steps :
20+ - name : Clean other workspace
21+ run : rm -rf ../.west
22+
23+ - name : Clean workspace
24+ run : find . -name . -o -prune -exec rm -rf -- {} +
2025
2126 - name : Checkout
22- uses : actions/checkout@v4
27+ uses : actions/checkout@v6
2328 with :
2429 submodules : true
2530
31+ - name : Configure git safe directory
32+ run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
33+
2634 - name : Delete build directory
2735 run : rm -rf build
2836
Original file line number Diff line number Diff line change @@ -121,44 +121,3 @@ jobs:
121121 echo "[ERROR] Expected log not found: $EXPECTED_LOG"
122122 exit 1
123123 fi
124-
125- post-code-coverage :
126- name : Post Code Test Coverage
127- runs-on : ["self-hosted", "build-server"]
128- container :
129- image : ghcr.io/${{ github.repository }}/devcontainer-linux:${{ inputs.devcontainer-tag }}
130- options : --user 1000:1000
131- steps :
132- - name : Clean other workspace
133- run : rm -rf ../.west
134-
135- - name : Clean workspace
136- run : find . -name . -o -prune -exec rm -rf -- {} +
137-
138- - name : Checkout
139- uses : actions/checkout@v4
140- with :
141- submodules : true
142-
143- - name : Delete build directory
144- run : rm -rf build
145-
146- - name : Configure (test coverage)
147- run : mkdir build && cd build && cmake ../tests/coverage
148-
149- - name : Build and run (test coverage)
150- working-directory : build
151- run : make coverage report.md
152-
153- - name : Upload coverage report
154- uses : actions/upload-artifact@v4
155- with :
156- name : ocre-coverage
157- include-hidden-files : true
158- path : build/coverage
159-
160- - name : Report code coverage
161- uses : marocchino/sticky-pull-request-comment@v3
162- with :
163- GITHUB_TOKEN : ${{ secrets.TOKEN_WRITE_PR }}
164- path : build/report.md
Original file line number Diff line number Diff line change 8484 with :
8585 devcontainer-tag : ${{ needs.zephyr-devcontainer.outputs.devcontainer-tag }}
8686
87- # hardware-raspberry_pi:
88- # name: Hardware Raspberry Pi 5
89- # # needs:
90- # # - linux
91- # uses: ./.github/workflows/hardware-rp5.yml
92- # secrets: inherit
87+ hardware-raspberry_pi :
88+ name : Hardware Raspberry Pi 5
89+ needs :
90+ - linux
91+ uses : ./.github/workflows/hardware-rp5.yml
92+ secrets : inherit
You can’t perform that action at this time.
0 commit comments