home flag needs to be applied for whole script

This commit is contained in:
Lukas Heiligenbrunner 2020-10-31 16:59:10 +01:00
parent be8299e294
commit c904c0701c

View File

@ -14,14 +14,16 @@ cache:
conan: conan:
stage: conan stage: conan
script: script:
- export CONAN_USER_HOME=$PWD/.conan #define .conan folder to be inside of project
- mkdir -p build - mkdir -p build
- conan remote add bintray https://api.bintray.com/conan/lheili/LibConfig - conan remote add bintray https://api.bintray.com/conan/lheili/LibConfig
- conan user lukas-heiligenbrunner -r bintray -p $CONAN_KEY - conan user lukas-heiligenbrunner -r bintray -p $CONAN_KEY
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan - 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 - conan profile update settings.compiler.libcxx=libstdc++11 default # new c++ abi
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF - 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 - cd build
- make - make #build
artifacts: artifacts:
paths: paths:
- build/bin/ - build/bin/