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-05-19 18:58:18 +00:00
|
|
|
image: luki42/dynuiprefresher_build:latest
|
2020-05-08 15:17:20 +00:00
|
|
|
script:
|
|
|
|
- cmake -S . -B build
|
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-19 19:29:36 +00:00
|
|
|
- make iprefresher
|
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
|
|
|
|
- make iprefresher
|
|
|
|
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
|