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
|
2020-05-19 18:58:18 +00:00
|
|
|
- post
|
2020-05-08 15:28:19 +00:00
|
|
|
|
2020-05-19 18:58:18 +00:00
|
|
|
# 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-13 22:30:55 +00:00
|
|
|
- conan remote add gitlab https://gitlab.heili.eu/api/v4/projects/55/packages/conan
|
|
|
|
- conan user lukas -r gitlab -p $CONAN_KEY
|
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:
|
2020-05-19 18:58:18 +00:00
|
|
|
paths:
|
|
|
|
- build/
|
|
|
|
- inc/
|
|
|
|
- postinst
|
2020-04-30 13:15:01 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
stage: build
|
2020-05-19 18:58:18 +00:00
|
|
|
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:
|
2020-05-19 18:58:18 +00:00
|
|
|
paths:
|
|
|
|
- build/
|
|
|
|
- inc/
|
|
|
|
- postinst
|
2020-05-19 19:29:36 +00:00
|
|
|
dependencies:
|
|
|
|
- cmake
|
2020-05-08 15:17:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
build_package:
|
2020-05-19 18:58:18 +00:00
|
|
|
stage: post
|
|
|
|
image: luki42/dynuiprefresher_build:latest
|
2020-05-08 15:17:20 +00:00
|
|
|
script:
|
|
|
|
- cd build
|
|
|
|
- make package
|
|
|
|
artifacts:
|
2020-05-19 18:58:18 +00:00
|
|
|
paths:
|
|
|
|
- build/
|
|
|
|
- inc/
|
|
|
|
- postinst
|
2020-05-19 19:29:36 +00:00
|
|
|
dependencies:
|
|
|
|
- build
|
2020-05-08 15:17:20 +00:00
|
|
|
|
|
|
|
test:
|
2020-05-19 18:58:18 +00:00
|
|
|
stage: post
|
|
|
|
image: luki42/dynuiprefresher_build:latest
|
2020-05-08 15:17:20 +00:00
|
|
|
script:
|
|
|
|
- cd build
|
2020-05-19 19:50:43 +00:00
|
|
|
- make build-test
|
2020-05-08 15:17:20 +00:00
|
|
|
artifacts:
|
2020-05-07 17:58:16 +00:00
|
|
|
reports:
|
2020-05-20 17:25:37 +00:00
|
|
|
junit: build/*.xml
|
2020-05-19 19:29:36 +00:00
|
|
|
dependencies:
|
|
|
|
- build
|
2020-05-19 18:58:18 +00:00
|
|
|
|
|
|
|
# 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:
|
2020-05-19 18:58:18 +00:00
|
|
|
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
|
2020-05-19 18:58:18 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/
|
|
|
|
- inc/
|
2020-05-19 19:29:36 +00:00
|
|
|
dependencies:
|
|
|
|
- cmake_win64
|
2020-05-19 18:58:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
build_package_win64:
|
|
|
|
stage: post
|
|
|
|
image: luki42/dynuiprefresher_build:windows
|
|
|
|
script:
|
|
|
|
- cd build
|
|
|
|
- make package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/
|
2020-05-19 19:29:36 +00:00
|
|
|
- inc/
|
|
|
|
dependencies:
|
|
|
|
- build_win64
|