2020-04-30 13:15:01 +00:00
|
|
|
stages:
|
2020-10-16 17:03:05 +00:00
|
|
|
- conan
|
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-10-16 17:16:41 +00:00
|
|
|
- cleanup
|
2020-05-08 15:28:19 +00:00
|
|
|
|
2020-10-16 16:25:47 +00:00
|
|
|
image: conanio/gcc9:latest
|
|
|
|
|
2020-10-16 15:53:18 +00:00
|
|
|
cache:
|
|
|
|
paths:
|
2020-10-31 10:57:49 +00:00
|
|
|
- ../.conan/data
|
2020-10-16 15:53:18 +00:00
|
|
|
|
2020-10-16 17:03:05 +00:00
|
|
|
conan:
|
|
|
|
stage: conan
|
2020-05-08 15:17:20 +00:00
|
|
|
script:
|
2020-10-30 18:04:00 +00:00
|
|
|
- mkdir -p 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-30 18:16:16 +00:00
|
|
|
- CONAN_SYSREQUIRES_MODE=enabled conan install . --build=missing -g cmake -if build
|
2020-10-31 10:57:49 +00:00
|
|
|
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF
|
|
|
|
- cd build
|
|
|
|
- make
|
2020-10-31 10:14:48 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/
|
2020-10-31 10:57:49 +00:00
|
|
|
expire_in: 1 days
|