DynuIPRefresher/.gitlab-ci.yml

50 lines
641 B
YAML
Raw Normal View History

2020-04-30 13:15:01 +00:00
image: luki42/dynuiprefresher_build:latest
stages:
2020-05-08 15:17:20 +00:00
- cmake
2020-04-30 13:15:01 +00:00
- build
2020-05-08 15:17:20 +00:00
- build_package
- test
2020-04-30 13:15:01 +00:00
2020-05-08 15:17:20 +00:00
cmake:
stage: cmake
script:
- cmake -S . -B build
2020-05-08 15:20:11 +00:00
cache:
paths:
- build/
2020-04-30 13:15:01 +00:00
build:
stage: build
script:
- cd build
- make
2020-05-08 15:20:11 +00:00
cache:
paths:
- build/
2020-04-30 13:15:01 +00:00
artifacts:
paths:
- "build/bin/*"
2020-05-08 15:17:20 +00:00
build_package:
stage: build_package
script:
- cd build
- make package
2020-05-08 15:20:11 +00:00
cache:
paths:
- build/
2020-05-08 15:17:20 +00:00
artifacts:
paths:
- "build/packages/*"
2020-05-08 15:17:20 +00:00
test:
stage: test
script:
- cd build
- make test
- make build-xml
artifacts:
reports:
2020-05-07 18:08:31 +00:00
junit: build/report.xml