File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,42 +175,26 @@ 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
187-
188- # get NTFC sources
189- git clone -b release-0.0.1 https://github.com/szafonimateusz-mi/nuttx-ntfc
184+ pip install ntfc==0.0.1
185+ mkdir /github/workspace/nuttx-ntfc
186+ mkdir /github/workspace/nuttx-ntfc/external
190187 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-
198188 # get NTFC test cases
199189 cd external
200190 git clone -b release-0.0.1 https://github.com/szafonimateusz-mi/nuttx-testing
201191
202- - name : Run builds
203- uses : ./sources/nuttx/.github/actions/ci-container
204- env :
205- BLOBDIR : /tools/blobs
206- with :
207- run : |
208192 echo "::add-matcher::sources/nuttx/.github/gcc.json"
209193 export ARTIFACTDIR=`pwd`/buildartifacts
210194 export NTFCDIR=/github/workspace/nuttx-ntfc
211195 git config --global --add safe.directory /github/workspace/sources/nuttx
212196 git config --global --add safe.directory /github/workspace/sources/apps
213- cd sources/nuttx/tools/ci
197+ cd /github/workspace/ sources/nuttx/tools/ci
214198 if [ "X${{matrix.boards}}" = "Xcodechecker" ]; then
215199 ./cibuild.sh -c -A -N -R --codechecker testlist/${{matrix.boards}}.dat
216200 else
You can’t perform that action at this time.
0 commit comments