You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
752 B

build:
image: zephyrprojectrtos/zephyr-build
before_script:
- west init -l .
- west update
- west config --global zephyr.base-prefer configfile
- west zephyr-export
- pip3 install --user -r ../zephyr/scripts/requirements.txt
script:
- west build -b nucleo_wb55rg -- -DSHIELD=petejohanson_handwire
build:dockerimage:
services:
- docker:stable-dind
image: docker:stable
variables:
CI_BUILD_IMAGE: CI_REGISTRY_IMAGE/zmk-build
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker pull $CI_BUILD_IMAGE:latest || true
- docker build --cache-from $CI_BUILD_IMAGE:latest -t $CI_BUILD_IMAGE:latest .
- docker push $CI_BUILD_IMAGE:latest