DynuIPRefresher/.gitlab-ci.yml

37 lines
762 B
YAML

stages:
- conan
- cmake
- build
- post
- cleanup
image: conanio/gcc9:latest
cache:
paths:
- /home/conan/.conan/
conan:
stage: conan
script:
- mkdir -p 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 -g cmake -if build
allow_failure: true
# Unix Build
cmake:
stage: cmake
script:
- cd build
- cmake -S . -B ../build -D WinBuild=OFF -D GUI=OFF
allow_failure: true
cleanup:
stage: cleanup
script:
- echo "cleaning up"
after_script:
- rm -Rfv build