summaryrefslogtreecommitdiffstatshomepage
path: root/tools/ci.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci.sh')
-rwxr-xr-xtools/ci.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/ci.sh b/tools/ci.sh
index d4bfe49336..c67aeed0ce 100755
--- a/tools/ci.sh
+++ b/tools/ci.sh
@@ -754,12 +754,15 @@ function ci_zephyr_setup {
# Directories cached by GitHub Actions, mounted
# into the container
ZEPHYRPROJECT_DIR="$(pwd)/zephyrproject"
+ CCACHE_DIR="$(pwd)/.ccache"
mkdir -p "${ZEPHYRPROJECT_DIR}"
+ mkdir -p "${CCACHE_DIR}"
docker run --name zephyr-ci -d -it \
-v "$(pwd)":/micropython \
-v "${ZEPHYRPROJECT_DIR}":/zephyrproject \
+ -v "${CCACHE_DIR}":/root/.cache/ccache \
-e ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-${ZEPHYR_SDK_VERSION} \
-e ZEPHYR_TOOLCHAIN_VARIANT=zephyr \
-e ZEPHYR_BASE=/zephyrproject/zephyr \