Try a symlink trick into a workspace so west modules are in the build dir.
This commit is contained in:
parent
bfe2e10421
commit
0206796953
1 changed files with 7 additions and 4 deletions
|
@ -9,10 +9,10 @@ build:
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- $CI_BUILDS_DIR/modules
|
- ci-workspace/modules
|
||||||
- $CI_BUILDS_DIR/tools
|
- ci-workspace/tools
|
||||||
- $CI_BUILDS_DIR/zephyr
|
- ci-workspace/zephyr
|
||||||
- $CI_BUILDS_DIR/bootloader
|
- ci-workspace/bootloader
|
||||||
|
|
||||||
image: $CI_BUILD_IMAGE:v0.1.1
|
image: $CI_BUILD_IMAGE:v0.1.1
|
||||||
|
|
||||||
|
@ -20,12 +20,15 @@ build:
|
||||||
GIT_CLONE_PATH: $CI_BUILDS_DIR/zmk
|
GIT_CLONE_PATH: $CI_BUILDS_DIR/zmk
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
- mkdir ci-workspace && ln -s ./ ci-workspace/zmk
|
||||||
|
- cd ci-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
|
||||||
- west build -b nucleo_wb55rg -- -DSHIELD=petejohanson_handwire
|
- west build -b nucleo_wb55rg -- -DSHIELD=petejohanson_handwire
|
||||||
|
|
||||||
build:dockerimage:
|
build:dockerimage:
|
||||||
|
|
Loading…
Add table
Reference in a new issue