engine_control/.gitlab-ci.yml

69 lines
1.2 KiB
YAML
Raw Normal View History

2016-07-23 06:43:05 +00:00
variables:
2016-07-23 09:58:29 +00:00
# PRODUCT_NAME: "AG"
2016-07-23 06:43:05 +00:00
# PRODUCT_VARIANT: "NA"
2016-07-23 09:58:29 +00:00
# PRODUCT_VARIANT: "EU"
2016-07-23 06:43:05 +00:00
# PRODUCT_VARIANT: "CN"
2016-07-23 09:58:29 +00:00
# PROJECT_VERSION: "10"
# SW_MAJOR: "1"
# SW_MINOR: "3"
2016-07-23 06:43:05 +00:00
before_script:
- "echo $CI_BUILD_ID"
- "echo $CI_BUILD_REF_NAME"
stages:
# - check
2016-07-23 06:43:05 +00:00
- build
# - test
2016-07-23 06:43:05 +00:00
# - deploy
build_job:
script:
- "make all BOARD=stm32f4-discovery"
# - "make all BOARD=stm32f4-discovery DEBUG=y"
2016-07-23 06:43:05 +00:00
stage: build
except:
- /^release/.*$/
#check_job:
# script:
# - "make check BOARD=stm32f4-discovery DEBUG=y"
# stage: check
2016-07-23 06:43:05 +00:00
#test_job:
# script:
# - "python source/scripts/get_history.py"
# - "make install BOARD=stm32f4-discovery DEBUG=y"
# stage: test
2016-07-23 06:43:05 +00:00
#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