2020-10-31 20:07:34 +00:00
|
|
|
include: '/Docker/Linux_Conan/.gitlab-ci.yml'
|
2020-05-08 15:28:19 +00:00
|
|
|
|
2020-11-04 19:28:04 +00:00
|
|
|
image: luki42/dynuiprefresher_build:conanbuild
|
2020-10-16 16:25:47 +00:00
|
|
|
|
2020-10-31 20:07:34 +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
|
|
|
|
2020-10-16 17:03:05 +00:00
|
|
|
conan:
|
2020-10-31 20:07:34 +00:00
|
|
|
stage: build
|
2020-05-08 15:17:20 +00:00
|
|
|
script:
|
2020-10-31 16:11:27 +00:00
|
|
|
- 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
|
2020-10-31 16:13:07 +00:00
|
|
|
- conan remote add bintray https://api.bintray.com/conan/lheili/LibConfig --force
|
|
|
|
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan --force
|
2020-10-31 16:02:23 +00:00
|
|
|
- mkdir -p build # create build folder
|
2020-10-31 16:33:39 +00:00
|
|
|
- CONAN_SYSREQUIRES_MODE=disabled conan install . --build=missing -g cmake -if build
|
2020-10-31 15:59:10 +00:00
|
|
|
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF #cmake project
|
2020-10-31 10:57:49 +00:00
|
|
|
- cd build
|
2020-11-04 19:28:04 +00:00
|
|
|
- make -j4 #build
|
2020-10-31 10:14:48 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2020-10-31 15:50:23 +00:00
|
|
|
- build/bin/
|
2020-10-31 10:57:49 +00:00
|
|
|
expire_in: 1 days
|