DynuIPRefresher/.gitlab-ci.yml

68 lines
1.2 KiB
YAML

stages:
- build
- post
# Unix Build
build:
stage: build
image: luki42/dynuiprefresher_build:latest
script:
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF
- cd build
- make dynuiprefresher
artifacts:
paths:
- build/bin/
build_package:
stage: post
image: luki42/dynuiprefresher_build:latest
script:
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF
- cd build
- make package
artifacts:
paths:
- build/packages/
needs:
- build
test:
stage: post
image: luki42/dynuiprefresher_build:latest
script:
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF
- cd build
- make build-test
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
- 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