DynuIPRefresher/.gitlab-ci.yml

95 lines
1.4 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
2020-05-21 12:27:16 +00:00
- make dynuiprefresher
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 build-test
2020-05-08 15:17:20 +00:00
artifacts:
reports:
junit: build/*.xml
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
2020-05-21 12:27:16 +00:00
- make dynuiprefresher
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