DynuIPRefresher/.gitlab-ci.yml

68 lines
1.2 KiB
YAML
Raw Normal View History

2020-04-30 13:15:01 +00:00
stages:
- build
- post
# Unix Build
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:
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF
2020-04-30 13:15:01 +00:00
- cd build
2020-05-21 12:27:16 +00:00
- make dynuiprefresher
2020-04-30 13:15:01 +00:00
artifacts:
paths:
- build/bin/
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:
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF
2020-05-08 15:17:20 +00:00
- cd build
- make package
artifacts:
paths:
- build/packages/
needs:
- 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:
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF
2020-05-08 15:17:20 +00:00
- cd build
- make build-test
2020-05-08 15:17:20 +00:00
artifacts:
reports:
junit: build/*.xml
needs:
- build
# Windows Build
build_win64:
stage: build
image: luki42/dynuiprefresher_build:windows
script:
- cmake -S . -B build -D WinBuild=ON
- cd build
2020-05-21 12:27:16 +00:00
- make dynuiprefresher
artifacts:
paths:
- build/bin/
build_package_win64:
stage: post
image: luki42/dynuiprefresher_build:windows
script:
- cmake -S . -B build -D WinBuild=ON
- cd build
- make package
artifacts:
paths:
- build/packages/
needs:
- build_win64