DynuIPRefresher/.gitlab-ci.yml

101 lines
1.7 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
2020-10-12 00:14:42 +00:00
image: conanio/gcc9:latest
2020-05-08 15:17:20 +00:00
script:
2020-10-12 00:14:42 +00:00
- mkdir build
- cd build
2020-10-16 15:18:08 +00:00
- conan remote add bintray https://api.bintray.com/conan/lheili/LibConfig
- conan user lukas-heiligenbrunner -r bintray -p $CONAN_KEY
2020-10-13 22:36:17 +00:00
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
2020-10-12 23:01:45 +00:00
- conan install .. --build=missing
2020-06-08 09:03:08 +00:00
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF
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