kosmos/.gitlab-ci.yml

42 lines
622 B
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"
2016-08-18 11:43:29 +00:00
SW_MAJOR: "1"
2016-08-21 10:09:02 +00:00
SW_MINOR: "3"
2016-07-28 19:02:54 +00:00
before_script:
- "echo $CI_BUILD_ID"
- "echo $CI_BUILD_REF_NAME"
stages:
# - check
2016-07-28 19:02:54 +00:00
- 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:
2016-08-10 16:35:53 +00:00
- tags
2016-07-28 19:02:54 +00:00
2016-08-11 13:12:37 +00:00
#check_job:
# script:
# - "make check BOARD=stm32f4-discovery"
# stage: check
# except:
# - tags
2016-07-28 19:02:54 +00:00
2016-08-01 11:34:25 +00:00
deploy_job:
2016-08-01 12:57:52 +00:00
stage: deploy
2016-08-01 11:34:25 +00:00
script:
- "source/scripts/release_number.py"
- "make deploy BOARD=stm32f4-discovery"
2016-08-10 16:34:54 +00:00
- "make deploy BOARD=stm32f4-discovery DEBUG=y"
2016-08-01 12:57:52 +00:00
artifacts:
paths:
2016-08-01 13:55:35 +00:00
- ./*.xz
2016-08-01 12:57:52 +00:00
only:
- tags