This is an automated email from the ASF dual-hosted git repository.
lupyuen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new e564816e1 .github: install NTFC from PIP
e564816e1 is described below
commit e564816e1d931edb2cd01d7202511ec0a8fbd068
Author: raiden00pl <[email protected]>
AuthorDate: Fri Mar 27 10:41:40 2026 +0100
.github: install NTFC from PIP
install NTFC package from PIP
Signed-off-by: raiden00pl <[email protected]>
---
.github/workflows/build.yml | 26 +++++---------------------
1 file changed, 5 insertions(+), 21 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 95ba5d943..34cc01a43 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -175,42 +175,26 @@ jobs:
- name: Export NuttX Repo SHA
run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >>
$GITHUB_ENV
- - name: Install NTFC
+ - name: Run builds
uses: ./sources/nuttx/.github/actions/ci-container
env:
BLOBDIR: /tools/blobs
with:
run: |
- # install python venv
- apt-get update
- apt-get install -y python3 python3-dev python3-venv
-
- # get NTFC sources
- git clone -b release-0.0.1
https://github.com/szafonimateusz-mi/nuttx-ntfc
+ pip install ntfc==0.0.1
+ mkdir /github/workspace/nuttx-ntfc
+ mkdir /github/workspace/nuttx-ntfc/external
cd /github/workspace/nuttx-ntfc
-
- # install NTFC with venv
- python3 -m venv /github/workspace/nuttx-ntfc/venv
- source /github/workspace/nuttx-ntfc/venv/bin/activate
- pip3 install .
- deactivate
-
# get NTFC test cases
cd external
git clone -b release-0.0.1
https://github.com/szafonimateusz-mi/nuttx-testing
- - name: Run builds
- uses: ./sources/nuttx/.github/actions/ci-container
- env:
- BLOBDIR: /tools/blobs
- with:
- run: |
echo "::add-matcher::sources/nuttx/.github/gcc.json"
export ARTIFACTDIR=`pwd`/buildartifacts
export NTFCDIR=/github/workspace/nuttx-ntfc
git config --global --add safe.directory
/github/workspace/sources/nuttx
git config --global --add safe.directory
/github/workspace/sources/apps
- cd sources/nuttx/tools/ci
+ cd /github/workspace/sources/nuttx/tools/ci
if [ "X${{matrix.boards}}" = "Xcodechecker" ]; then
./cibuild.sh -c -A -N -R --codechecker
testlist/${{matrix.boards}}.dat
else