rgbled/.gitlab-ci.yml

26 lines
714 B
YAML
Raw Normal View History

2019-04-30 13:53:11 +02:00
stages:
- build
build:
stage: build
image: registry.gitlab.com/wolutator/build-env-arduino:latest
tags:
- hottis
- linux
- docker
2019-04-30 14:00:39 +02:00
variables:
GIT_SUBMODULE_STRATEGY: recursive
2019-04-30 14:59:32 +02:00
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
paths:
- sketch.esp8266.esp8266.nodemcu.bin
- sketch.esp8266.esp8266.nodemcu.elf
2019-04-30 13:54:56 +02:00
script:
2019-04-30 14:40:01 +02:00
- env ARDUINO_SKETCHBOOK_DIR=$CI_PROJECT_DIR arduino-cli compile --fqbn=esp8266:esp8266:nodemcu $CI_PROJECT_DIR/sketch
2019-04-30 15:01:19 +02:00
- cp sketch.esp8266.esp8266.nodemcu.* ..
2019-04-30 13:53:11 +02:00