engine_control/.gitlab-ci.yml
2016-07-29 09:50:30 +02:00

67 lines
1.1 KiB
YAML

variables:
# PRODUCT_NAME: "AG"
# PRODUCT_VARIANT: "NA"
# PRODUCT_VARIANT: "EU"
# PRODUCT_VARIANT: "CN"
# PROJECT_VERSION: "10"
# SW_MAJOR: "1"
# SW_MINOR: "3"
before_script:
- "echo $CI_BUILD_ID"
- "echo $CI_BUILD_REF_NAME"
stages:
- check
- build
- test
# - deploy
build_job:
script:
- "make all APP=test BOARD=stm32f4-discovery DEBUG=y"
stage: build
except:
- /^release/.*$/
check_job:
script:
- "make check APP=test BOARD=stm32f4-discovery DEBUG=y"
stage: check
test_job:
script:
- "make install APP=test BOARD=stm32f4-discovery DEBUG=y"
stage: test
#int_release_job:
# script:
# - "cd top_agricola/core"
# - "./generate_ci_makefile.py"
# - "make -f Makefile_ci.gen all"
# - "cd ci"
# - "./deploy_release.py -t rc"
# stage: deploy
# only:
# - /^release/.*$/
# except:
# - tags
#ext_release_job:
# script:
# - "cd top_agricola/core"
# - "./generate_ci_makefile.py"
# - "make -f Makefile_ci.gen all"
# - "cd ci"
# - "./deploy_release.py -t r"
# stage: deploy
# only:
# - /^release/174_AG.*$/
# except:
# - branches