This commit is contained in:
Lukas Heiligenbrunner 2020-10-16 18:33:17 +02:00
parent 40110b13ca
commit 9a628d60f6

View File

@ -23,85 +23,4 @@ cmake:
- rm * -f - rm * -f
- CONAN_SYSREQUIRES_MODE=enabled conan install .. --build=missing - CONAN_SYSREQUIRES_MODE=enabled conan install .. --build=missing
- cd .. - cd ..
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF - cmake -S . -B build -D WinBuild=OFF -D GUI=OFF
artifacts:
paths:
- build/
- inc/
- postinst
build:
stage: build
script:
- cd build
- make dynuiprefresher
artifacts:
paths:
- build/
- inc/
- postinst
dependencies:
- cmake
build_package:
stage: post
script:
- cd build
- make package
artifacts:
paths:
- build/
- inc/
- postinst
dependencies:
- build
test:
stage: post
script:
- cd build
- make build-test
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
artifacts:
paths:
- build/
- inc/
build_win64:
stage: build
image: luki42/dynuiprefresher_build:windows
script:
- cd build
- 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