Tweaks for workspace directory.

This commit is contained in:
Pete Johanson 2020-05-11 13:40:58 -04:00
parent 182a316666
commit 9eb503640b

View file

@ -9,10 +9,10 @@ build:
cache: cache:
paths: paths:
- ci-workspace/modules - workspace/modules
- ci-workspace/tools - workspace/tools
- ci-workspace/zephyr - workspace/zephyr
- ci-workspace/bootloader - workspace/bootloader
image: $CI_BUILD_IMAGE:v0.1.1 image: $CI_BUILD_IMAGE:v0.1.1
@ -20,15 +20,17 @@ build:
GIT_CLONE_PATH: $CI_BUILDS_DIR/zmk GIT_CLONE_PATH: $CI_BUILDS_DIR/zmk
before_script: before_script:
- mkdir ci-workspace && ln -s $(pwd) ci-workspace/zmk - mkdir -p workspace/zmk
- cd ci-workspace/zmk - mv * workspace/zmk || true
- mv .* workspace/zmk || true
- cd workspace/zmk
- west init -l . - west init -l .
- west update - west update
- west config --global zephyr.base-prefer configfile - west config --global zephyr.base-prefer configfile
- west zephyr-export - west zephyr-export
script: script:
- cd ci-workspace/zmk - cd workspace/zmk
- west build -b nucleo_wb55rg -- -DSHIELD=petejohanson_handwire - west build -b nucleo_wb55rg -- -DSHIELD=petejohanson_handwire
build:dockerimage: build:dockerimage: