DynuIPRefresher/.gitlab-ci.yml

41 lines
827 B
YAML

stages:
- prepare
- conan
- cmake
- build
- post
image: conanio/gcc9:latest
cache:
paths:
- /home/conan/.conan/
prepare:
stage: prepare
script:
- mkdir ../checkout
- cp -Rv * ../checkout
artifacts:
paths:
- ../checkout/
conan:
stage: conan
script:
- mkdir ../checkout/build
- cd ../chekout/build
- conan remote add bintray https://api.bintray.com/conan/lheili/LibConfig
- conan user lukas-heiligenbrunner -r bintray -p $CONAN_KEY
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- CONAN_SYSREQUIRES_MODE=enabled conan install .. --build=missing
artifacts:
paths:
- ../checkout/
# Unix Build
cmake:
stage: cmake
script:
- cd ../checkout/build
- cmake -S . -B ../build -D WinBuild=OFF -D GUI=OFF