From 180607372a12b26d1c312c7ef2f3774f235e3695 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Fri, 24 Apr 2026 09:19:23 +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 740d6f81d..a8aba0de8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -183,7 +183,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