.github/build.yml: improve ntfc installation

increase retries and timeout for pip install and try again in case of failure

Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
raiden00pl 2026-04-09 09:44:45 +02:00 committed by Lup Yuen Lee
parent 46d2b59666
commit 8dfe25b27d

View file

@ -192,7 +192,15 @@ jobs:
run: |
export ARTIFACTDIR=`pwd`/buildartifacts
pip install ntfc==0.0.1
for i in 1 2 3; do
python -m pip install \
--default-timeout=100 \
--retries 10 \
ntfc==0.0.1 && break
echo "Retry $i failed..."
sleep 5
done
mkdir /github/workspace/nuttx-ntfc
mkdir /github/workspace/nuttx-ntfc/external
cd /github/workspace/nuttx-ntfc