File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 5353 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
5454 conda activate "${CONDA_ENV}"
5555
56+ # Download toolchain and add to path
57+ toolchain_url="https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.2/toolchain_linux-x86_64_arm-zephyr-eabi.tar.xz"
58+ toolchain_dir="arm-zephyr-x86-64-eabi"
59+ curl --output "${toolchain_dir}.tar.xz" -L "${toolchain_url}"
60+ tar xf "${toolchain_dir}.tar.xz"
61+ rm -f "${toolchain_dir}.tar.xz"
62+ toolchain_bin_path="$(cd ${toolchain_dir}/bin && pwd)"
63+ export PATH="\${PATH}:${toolchain_bin_path}"
64+
5665 ./install_requirements.sh > /dev/null
66+
67+ # Build Arm Zephyr Preset
5768 cmake --preset ${{ matrix.preset }}
5869 cmake --build cmake-out -j$(( $(nproc) - 1 ))
5970 linux :
You can’t perform that action at this time.
0 commit comments