DynuIPRefresher/.gitlab-ci.yml
2020-05-08 17:20:11 +02:00

50 lines
641 B
YAML

image: luki42/dynuiprefresher_build:latest
stages:
- cmake
- build
- build_package
- test
cmake:
stage: cmake
script:
- cmake -S . -B build
cache:
paths:
- build/
build:
stage: build
script:
- cd build
- make
cache:
paths:
- build/
artifacts:
paths:
- "build/bin/*"
build_package:
stage: build_package
script:
- cd build
- make package
cache:
paths:
- build/
artifacts:
paths:
- "build/packages/*"
test:
stage: test
script:
- cd build
- make test
- make build-xml
artifacts:
reports:
junit: build/report.xml