Skip to content

Commit 236577d

Browse files
committed
Moving some of the setup logic straight into the docker build
1 parent 3218071 commit 236577d

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.ci/docker/common/install_zephyr.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,16 @@ install_sdk() {
8888
./setup.sh -c -t arm-zephyr-eabi
8989
}
9090

91+
init_zephyr() {
92+
git clone https://github.com/BujSet/zephyr.git
93+
cd zephyr/
94+
git switch -c executorch-module-integration origin/executorch-module-integration
95+
cd ../
96+
west init -l zephyr
97+
west config manifest.project-filter -- +executorch
98+
west -v update
99+
}
100+
91101
install_prerequiresites
92102
install_sdk
103+
init_zephyr

.github/workflows/trunk.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,8 @@ jobs:
7575
7676
source .ci/scripts/utils.sh
7777
78-
cd ../
79-
git clone https://github.com/BujSet/zephyr.git
80-
cd zephyr/
81-
git switch -c executorch-module-integration origin/executorch-module-integration
82-
cd ../
83-
west init -l zephyr
84-
west config manifest.project-filter -- +executorch
85-
west -v update
78+
pwd
79+
ls
8680
cd modules/lib/executorch
8781
python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip
8882
./install_executorch.sh

0 commit comments

Comments
 (0)