DynuIPRefresher/.gitlab-ci.yml

45 lines
1.3 KiB
YAML
Raw Normal View History

include: '/Docker/Linux_Conan/.gitlab-ci.yml'
2021-03-15 17:31:46 +00:00
image: conanio/gcc10
2020-10-16 16:25:47 +00:00
stages:
- docker
- build
- packageing
2020-10-16 15:53:18 +00:00
cache:
paths:
2020-10-31 15:50:23 +00:00
- .conan/
2020-10-16 15:53:18 +00:00
2021-03-15 17:46:42 +00:00
conan_linux:
stage: build
2021-03-15 17:46:42 +00:00
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
conan_windows:
stage: build
image: luki42/dynuiprefresher_build:latest
2021-03-15 17:31:46 +00:00
before_script:
- conan profile new default --detect --force # Generates default profile detecting GCC and sets old ABI
2020-10-31 16:02:23 +00:00
- conan profile update settings.compiler.libcxx=libstdc++11 default # Sets libcxx to C++11 ABI
- mkdir -p build # create build folder
2021-03-15 17:31:46 +00:00
- 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
2020-10-31 10:57:49 +00:00
- cd build
2020-11-04 19:28:04 +00:00
- make -j4 #build
artifacts:
paths:
2020-10-31 15:50:23 +00:00
- build/bin/
2020-10-31 10:57:49 +00:00
expire_in: 1 days