DynuIPRefresher/.gitlab-ci.yml

100 lines
1.5 KiB
YAML
Raw Normal View History

2020-04-30 13:15:01 +00:00
stages:
2020-05-08 15:17:20 +00:00
- cmake
2020-04-30 13:15:01 +00:00
- build
- post
# Unix Build
2020-05-08 15:17:20 +00:00
cmake:
stage: cmake
image: luki42/dynuiprefresher_build:latest
2020-05-08 15:17:20 +00:00
script:
- cmake -S . -B build
2020-05-19 19:13:53 +00:00
artifacts:
paths:
- build/
- inc/
- postinst
2020-04-30 13:15:01 +00:00
build:
stage: build
image: luki42/dynuiprefresher_build:latest
2020-04-30 13:15:01 +00:00
script:
- cd build
- make iprefresher
2020-04-30 13:15:01 +00:00
artifacts:
paths:
- build/
- inc/
- postinst
dependencies:
- cmake
2020-05-08 15:17:20 +00:00
build_package:
stage: post
image: luki42/dynuiprefresher_build:latest
2020-05-08 15:17:20 +00:00
script:
- cd build
- make package
artifacts:
paths:
- build/
- inc/
- postinst
dependencies:
- build
2020-05-08 15:17:20 +00:00
test:
stage: post
image: luki42/dynuiprefresher_build:latest
2020-05-08 15:17:20 +00:00
script:
- cd build
- make test
- make build-xml
artifacts:
reports:
junit: build/report.xml
paths:
- build/
- inc/
- postinst
dependencies:
- build
# Windows Build
cmake_win64:
stage: cmake
image: luki42/dynuiprefresher_build:windows
script:
- cmake -S . -B build -D WinBuild=ON
2020-05-19 19:13:53 +00:00
artifacts:
paths:
- build/
- inc/
build_win64:
stage: build
image: luki42/dynuiprefresher_build:windows
script:
- cd build
- make iprefresher
artifacts:
paths:
- build/
- inc/
dependencies:
- cmake_win64
build_package_win64:
stage: post
image: luki42/dynuiprefresher_build:windows
script:
- cd build
- make package
artifacts:
paths:
- build/
- inc/
dependencies:
- build_win64