DynuIPRefresher/.gitlab-ci.yml
2021-03-15 18:31:46 +01:00

28 lines
716 B
YAML

include: '/Docker/Linux_Conan/.gitlab-ci.yml'
image: conanio/gcc10
stages:
- docker
- build
- packageing
cache:
paths:
- .conan/
conan:
stage: build
before_script:
- conan profile new default --detect --force # Generates default profile detecting GCC and sets old ABI
- conan profile update settings.compiler.libcxx=libstdc++11 default # Sets libcxx to C++11 ABI
- mkdir -p build # create build folder
- CONAN_SYSREQUIRES_MODE=enabled CONAN_SYSREQUIRES_SUDO=0 conan install . --build=missing -g cmake -if build
script:
- cmake -S . -B build -D WinBuild=OFF #cmake project
- cd build
- make -j4 #build
artifacts:
paths:
- build/bin/
expire_in: 1 days