kosmos/.gitlab-ci.yml

42 lines
615 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"
SW_MAJOR: "0"
2016-08-11 09:42:51 +00:00
SW_MINOR: "4"
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:
2016-08-10 16:35:53 +00:00
- tags
2016-07-28 19:02:54 +00:00
check_job:
script:
- "make check BOARD=stm32f4-discovery"
stage: check
2016-08-10 16:35:53 +00:00
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