Skip to content

Commit 3218071

Browse files
committed
Changing order of pip installs to resolve dependency errors
1 parent bfc2fc5 commit 3218071

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/trunk.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,33 +74,29 @@ jobs:
7474
conda activate "${CONDA_ENV}"
7575
7676
source .ci/scripts/utils.sh
77-
install_executorch "--use-pt-pinned-commit"
78-
.ci/scripts/setup-arm-baremetal-tools.sh --target-toolchain zephyr
79-
source examples/arm/ethos-u-scratch/setup_path.sh
8077
8178
cd ../
82-
rm -rf executorch/
8379
git clone https://github.com/BujSet/zephyr.git
8480
cd zephyr/
8581
git switch -c executorch-module-integration origin/executorch-module-integration
86-
python3 -m pip install --upgrade pip
87-
python3 -m pip install --upgrade cmake==3.31.6
88-
python3 -m pip install west torch numpy
89-
python3 -m pip install -r scripts/requirements.txt
9082
cd ../
9183
west init -l zephyr
9284
west config manifest.project-filter -- +executorch
9385
west -v update
94-
source zephyr/zephyr-env.sh
9586
cd modules/lib/executorch
87+
python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip
9688
./install_executorch.sh
9789
./examples/arm/setup.sh --i-agree-to-the-contained-eula --target-toolchain zephyr
9890
source examples/arm/ethos-u-scratch/setup_path.sh
99-
cd ../../../zephyr/samples/modules/executorch/arm/hello_world
91+
python3 -m pip install west
92+
cd ../
93+
source zephyr/zephyr-env.sh
94+
cd /zephyr/samples/modules/executorch/arm/hello_world
10095
west build -p always -b mps3/corstone300/fvp
10196
FVP_Corstone_SSE-300_Ethos-U55 -a build/zephyr/zephyr.elf -C mps3_board.visualisation.disable-visualisation=1 -C mps3_board.telnetterminal0.start_telnet=0 -C mps3_board.uart0.out_file='sim.out' -C cpu0.CFGITCMSZ=15 -C cpu0.CFGDTCMSZ=15 --simlimit 60
10297
pwd
10398
ls
99+
cat sim.out
104100
105101
test-models-linux-aarch64:
106102
name: test-models-linux-aarch64

0 commit comments

Comments
 (0)