Skip to content

Commit 59e64c2

Browse files
committed
Seems like I can git clone in the docker build process, moving it directly to the trunk test
1 parent 2cbe682 commit 59e64c2

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.ci/docker/common/install_zephyr.sh

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

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

.github/workflows/trunk.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,23 @@ jobs:
7474
conda activate "${CONDA_ENV}"
7575
7676
source .ci/scripts/utils.sh
77-
7877
pwd
7978
ls
79+
cd ../
80+
pwd
81+
ls
82+
git clone https://github.com/BujSet/zephyr.git
83+
cd zephyr/
84+
git switch -c executorch-module-integration origin/executorch-module-integration
85+
cd ../
86+
west init -l zephyr
87+
west config manifest.project-filter -- +executorch
88+
west -v update
89+
pwd
90+
ls
91+
8092
cd modules/lib/executorch
81-
python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip
93+
#python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip
8294
./install_executorch.sh
8395
./examples/arm/setup.sh --i-agree-to-the-contained-eula --target-toolchain zephyr
8496
source examples/arm/ethos-u-scratch/setup_path.sh

0 commit comments

Comments
 (0)