engine_control/.gitlab-ci.yml
2016-09-21 14:46:27 +00:00

32 lines
459 B
YAML

variables:
SW_MAJOR: "0"
SW_MINOR: "2"
APP: "engine_control"
before_script:
- "echo $CI_BUILD_ID"
- "echo $CI_BUILD_REF_NAME"
stages:
- build
- deploy
build_job:
script:
- "make all BOARD=stm32f4-discovery"
stage: build
except:
- /^release/.*$/
deploy_job:
stage: deploy
script:
- "source/scripts/release_number.py"
- "make deploy BOARD=stm32f4-discovery"
artifacts:
paths:
- ./*.xz
only:
- tags