@@ -106,7 +106,7 @@ jobs:
106106 run : tar zcf sources.tar.gz sources
107107
108108 - name : Archive Source Bundle
109- uses : actions/upload-artifact@v6
109+ uses : actions/upload-artifact@v7.0.0
110110 with :
111111 name : source-bundle
112112 path : sources.tar.gz
@@ -121,7 +121,7 @@ jobs:
121121 [
122122 "arm-01", "risc-v-01", "sim-01", "xtensa-01", "arm64-01", "x86_64-01", "other",
123123 "arm-02", "risc-v-02", "sim-02", "xtensa-02",
124- "arm-03", "risc-v-03", "sim-03",
124+ "arm-03", "risc-v-03", "sim-03", "xtensa-03",
125125 "arm-04", "risc-v-04",
126126 "arm-05", "risc-v-05",
127127 "arm-06", "risc-v-06",
@@ -154,7 +154,7 @@ jobs:
154154 run : df -h
155155
156156 - name : Download Source Artifact
157- uses : actions/download-artifact@v7
157+ uses : actions/download-artifact@v8
158158 with :
159159 name : source-bundle
160160 path : .
@@ -163,7 +163,7 @@ jobs:
163163 run : tar zxf sources.tar.gz
164164
165165 - name : Docker Login
166- uses : docker/login-action@v3
166+ uses : docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
167167 with :
168168 registry : ghcr.io
169169 username : ${{ github.actor }}
@@ -175,42 +175,27 @@ jobs:
175175 - name : Export NuttX Repo SHA
176176 run : echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV
177177
178- - name : Install NTFC
178+ - name : Run builds
179179 uses : ./sources/nuttx/.github/actions/ci-container
180180 env :
181181 BLOBDIR : /tools/blobs
182182 with :
183183 run : |
184- # install python venv
185- apt-get update
186- apt-get install -y python3 python3-dev python3-venv
184+ export ARTIFACTDIR=`pwd`/buildartifacts
187185
188- # get NTFC sources
189- git clone -b release-0.0.1 https://github.com/szafonimateusz-mi/nuttx-ntfc
186+ pip install ntfc==0.0.1
187+ mkdir /github/workspace/nuttx-ntfc
188+ mkdir /github/workspace/nuttx-ntfc/external
190189 cd /github/workspace/nuttx-ntfc
191-
192- # install NTFC with venv
193- python3 -m venv /github/workspace/nuttx-ntfc/venv
194- source /github/workspace/nuttx-ntfc/venv/bin/activate
195- pip3 install .
196- deactivate
197-
198190 # get NTFC test cases
199191 cd external
200192 git clone -b release-0.0.1 https://github.com/szafonimateusz-mi/nuttx-testing
193+ export NTFCDIR=/github/workspace/nuttx-ntfc
201194
202- - name : Run builds
203- uses : ./sources/nuttx/.github/actions/ci-container
204- env :
205- BLOBDIR : /tools/blobs
206- with :
207- run : |
208195 echo "::add-matcher::sources/nuttx/.github/gcc.json"
209- export ARTIFACTDIR=`pwd`/buildartifacts
210- export NTFCDIR=/github/workspace/nuttx-ntfc
211196 git config --global --add safe.directory /github/workspace/sources/nuttx
212197 git config --global --add safe.directory /github/workspace/sources/apps
213- cd sources/nuttx/tools/ci
198+ cd /github/workspace/ sources/nuttx/tools/ci
214199 if [ "X${{matrix.boards}}" = "Xcodechecker" ]; then
215200 ./cibuild.sh -c -A -N -R --codechecker testlist/${{matrix.boards}}.dat
216201 else
@@ -222,7 +207,7 @@ jobs:
222207 if : always()
223208 run : df -h
224209
225- - uses : actions/upload-artifact@v6
210+ - uses : actions/upload-artifact@v7.0.0
226211 if : ${{ always() }}
227212 with :
228213 name : linux-${{matrix.boards}}-builds
@@ -237,7 +222,7 @@ jobs:
237222 DOCKER_BUILDKIT : 1
238223 steps :
239224 - name : Download Source Artifact
240- uses : actions/download-artifact@v7
225+ uses : actions/download-artifact@v8
241226 with :
242227 name : source-bundle
243228 path : .
@@ -246,7 +231,7 @@ jobs:
246231 run : tar zxf sources.tar.gz
247232
248233 - name : Docker Login
249- uses : docker/login-action@v3
234+ uses : docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
250235 with :
251236 registry : ghcr.io
252237 username : ${{ github.actor }}
@@ -267,7 +252,7 @@ jobs:
267252 cd sources/nuttx
268253 ./tools/ci/cibuild-oot.sh
269254
270- - uses : actions/upload-artifact@v6
255+ - uses : actions/upload-artifact@v7.0.0
271256 if : ${{ always() }}
272257 with :
273258 name : oot-build-artifacts
@@ -296,7 +281,7 @@ jobs:
296281 boards : ${{ fromJSON(needs.macOS-Arch.outputs.selected_builds) }}
297282 steps :
298283 - name : Download Source Artifact
299- uses : actions/download-artifact@v7
284+ uses : actions/download-artifact@v8
300285 with :
301286 name : source-bundle
302287 path : .
@@ -328,7 +313,7 @@ jobs:
328313 cd sources/nuttx/tools/ci
329314 ./cibuild.sh -i -c -A -R testlist/${{matrix.boards}}.dat
330315
331- - uses : actions/upload-artifact@v6
316+ - uses : actions/upload-artifact@v7.0.0
332317 with :
333318 name : macos-${{matrix.boards}}-builds
334319 path : buildartifacts/
@@ -391,7 +376,7 @@ jobs:
391376 - run : git config --global core.autocrlf false
392377
393378 - name : Download Source Artifact
394- uses : actions/download-artifact@v7
379+ uses : actions/download-artifact@v8
395380 with :
396381 name : source-bundle
397382 path : .
@@ -411,7 +396,7 @@ jobs:
411396 cd sources/nuttx/tools/ci
412397 ./cibuild.sh -g -i -A -C -N -R testlist/${{matrix.boards}}.dat
413398
414- - uses : actions/upload-artifact@v6
399+ - uses : actions/upload-artifact@v7.0.0
415400 with :
416401 name : msys2-${{matrix.boards}}-builds
417402 path : buildartifacts/
@@ -445,7 +430,7 @@ jobs:
445430 - run : git config --global core.autocrlf false
446431
447432 - name : Download Source Artifact
448- uses : actions/download-artifact@v7
433+ uses : actions/download-artifact@v8
449434 with :
450435 name : source-bundle
451436 path : .
@@ -463,7 +448,7 @@ jobs:
463448 cd sources\nuttx\tools\ci
464449 .\cibuild.ps1 -n -i -A -C -N testlist\windows.dat
465450
466- - uses : actions/upload-artifact@v6
451+ - uses : actions/upload-artifact@v7.0.0
467452 with :
468453 name : msvc-builds
469454 path : ./sources/buildartifacts/
0 commit comments