engine_control/.gitlab-ci.yml

68 lines
1.1 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:
2016-07-23 09:58:29 +00:00
- check
2016-07-23 06:43:05 +00:00
- build
2016-07-26 20:35:44 +00:00
- test
2016-07-23 06:43:05 +00:00
# - deploy
build_job:
script:
2016-07-29 08:22:03 +00:00
- "make all BOARD=stm32f4-discovery DEBUG=y"
2016-07-23 06:43:05 +00:00
stage: build
except:
- /^release/.*$/
2016-07-23 09:58:29 +00:00
check_job:
script:
2016-07-29 08:22:03 +00:00
- "make check BOARD=stm32f4-discovery DEBUG=y"
2016-07-23 09:58:29 +00:00
stage: check
2016-07-23 06:43:05 +00:00
2016-07-26 20:35:44 +00:00
test_job:
script:
2016-07-29 08:22:03 +00:00
- "python source/scripts/get_history.py"
- "make install BOARD=stm32f4-discovery DEBUG=y"
2016-07-26 20:35:44 +00:00
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