DynuIPRefresher/.gitlab-ci.yml

38 lines
735 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
artifacts:
paths:
- build/
expire_in: 1 days
# Unix Build
cmake:
stage: cmake
script:
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF
# Unix Build
build:
stage: build
script:
- cd build
- make