From f53701c28878010a83147a8b229ba42cc033808a Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Thu, 9 Apr 2026 09:44:45 +0200 Subject: [PATCH] .github/build.yml: improve ntfc installation increase retries and timeout for pip install and try again in case of failure Signed-off-by: raiden00pl --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19e2594e7a5a8..c1feb226b31e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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