diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-05-11 13:18:15 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-05-11 13:18:15 -0400 |
commit | 02067969530a4210c8e5c4adc42ca7e144474fd3 (patch) | |
tree | ed7691aece9c59ffb4b484fe7c49df3d964745ce | |
parent | bfe2e1042103c074e65a244334bafbf37b533ebd (diff) |
Try a symlink trick into a workspace so west modules are in the build dir.
-rw-r--r-- | .gitlab-ci.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f5f5da..400e85b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,10 +9,10 @@ build: cache: paths: - - $CI_BUILDS_DIR/modules - - $CI_BUILDS_DIR/tools - - $CI_BUILDS_DIR/zephyr - - $CI_BUILDS_DIR/bootloader + - ci-workspace/modules + - ci-workspace/tools + - ci-workspace/zephyr + - ci-workspace/bootloader image: $CI_BUILD_IMAGE:v0.1.1 @@ -20,12 +20,15 @@ build: GIT_CLONE_PATH: $CI_BUILDS_DIR/zmk before_script: + - mkdir ci-workspace && ln -s ./ ci-workspace/zmk + - cd ci-workspace/zmk - west init -l . - west update - west config --global zephyr.base-prefer configfile - west zephyr-export script: + - cd ci-workspace/zmk - west build -b nucleo_wb55rg -- -DSHIELD=petejohanson_handwire build:dockerimage: |