kosmos/.gitlab-ci.yml

66 lines
1.1 KiB
YAML
Raw Normal View History

2016-07-28 19:02:54 +00:00
variables:
2016-08-01 11:34:25 +00:00
SW_KERNEL: "0"
SW_MAJOR: "0"
2016-08-01 11:44:50 +00:00
SW_MINOR: "255"
2016-07-28 19:02:54 +00:00
before_script:
- "echo $CI_BUILD_ID"
- "echo $CI_BUILD_REF_NAME"
stages:
- check
- build
# - test
2016-08-01 11:34:25 +00:00
- deploy
2016-07-28 19:02:54 +00:00
build_job:
script:
- "make all BOARD=stm32f4-discovery"
stage: build
except:
- /^release/.*$/
check_job:
script:
- "make check BOARD=stm32f4-discovery"
stage: check
2016-08-01 11:34:25 +00:00
deploy_job:
script:
- "source/scripts/release_number.py"
- "make deploy BOARD=stm32f4-discovery"
stage: deploy
2016-07-28 19:02:54 +00:00
#test_job:
# script:
# - "make install APP=test BOARD=stm32f4-discovery"
# 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