You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by lu...@apache.org on 2026/04/10 01:17:10 UTC
(nuttx) branch master updated: .github/build.yml: improve ntfc installation
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.git
The following commit(s) were added to refs/heads/master by this push:
new 8dfe25b27d4 .github/build.yml: improve ntfc installation
8dfe25b27d4 is described below
commit 8dfe25b27d48e66da9e279edba9593661ec6fa2e
Author: raiden00pl <ra...@railab.me>
AuthorDate: Thu Apr 9 09:44:45 2026 +0200
.github/build.yml: improve ntfc installation
increase retries and timeout for pip install and try again in case of failure
Signed-off-by: raiden00pl <ra...@railab.me>
---
.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 19e2594e7a5..c1feb226b31 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