File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -701,7 +701,7 @@ jobs:
701701 with :
702702 runner : linux.2xlarge
703703 docker-image : executorch-ubuntu-22.04-clang12
704- submodules : ' true '
704+ submodules : ' recursive '
705705 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
706706 timeout : 90
707707 script : |
@@ -715,6 +715,9 @@ jobs:
715715 PYTHON_EXECUTABLE=python \
716716 CMAKE_ARGS="-DEXECUTORCH_BUILD_NXP_NEUTRON=ON" \
717717 .ci/scripts/setup-linux.sh --build-tool "cmake"
718+
719+ PYTHON_EXECUTABLE=python bash examples/nxp/setup.sh
720+ pip install -r backends/nxp/requirements-tests.txt
718721
719722 # Run pytest
720723 PYTHON_EXECUTABLE=python bash backends/nxp/run_unittests.sh
Original file line number Diff line number Diff line change 66
77set -u
88
9+ retry_command () {
10+ local max_attempts=$2
11+ for (( i= 0 ; i< $max_attempts ; i++ )) ; do
12+ $1 && return 0 || echo " Attempt $(( i+ 1 )) failed. Retrying..."
13+ sleep 1
14+ done
15+ echo " All attempts failed."
16+ return 1
17+ }
18+
919# Install neutron-converter
10- pip install --extra-index-url https://eiq.nxp.com/repository neutron-converter_SDK_25_03
20+ retry_command " pip install --extra-index-url https://eiq.nxp.com/repository neutron-converter_SDK_25_03" 10 || { echo " Failed " ; exit 1 ; }
You can’t perform that action at this time.
0 commit comments