From c904c0701c4449cf0f0e86e6063592e75cb40a86 Mon Sep 17 00:00:00 2001 From: Lukas Heiligenbrunner Date: Sat, 31 Oct 2020 16:59:10 +0100 Subject: [PATCH] home flag needs to be applied for whole script --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8de04d6..5913d34 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,14 +14,16 @@ cache: conan: stage: conan script: + - export CONAN_USER_HOME=$PWD/.conan #define .conan folder to be inside of project - 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_USER_HOME=$PWD/.conan conan install . --build=missing -g cmake -if build - - cmake -S . -B build -D WinBuild=OFF -D GUI=OFF + - conan profile update settings.compiler.libcxx=libstdc++11 default # new c++ abi + - CONAN_SYSREQUIRES_MODE=enabled conan install . --build=missing -g cmake -if build + - cmake -S . -B build -D WinBuild=OFF -D GUI=OFF #cmake project - cd build - - make + - make #build artifacts: paths: - build/bin/