DynuIPRefresher/.gitlab-ci.yml

26 lines
683 B
YAML

stages:
- cmake
- build
- post
image: conanio/gcc9:latest
cache:
paths:
- /home/conan/.conan/
# Unix Build
cmake:
stage: cmake
script:
- mkdir ../build -p
- cd ../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 profile new default
- conan profile update settings.compiler.libcxx=libstdc++11 default
- rm * -f
- CONAN_SYSREQUIRES_MODE=enabled conan install .. --build=missing
- cd ..
- cmake -S . -B ../build -D WinBuild=OFF -D GUI=OFF