no files outside build dir allowed
This commit is contained in:
parent
346875312b
commit
2e3e4986f6
@ -1,5 +1,4 @@
|
||||
stages:
|
||||
- prepare
|
||||
- conan
|
||||
- cmake
|
||||
- build
|
||||
@ -11,31 +10,19 @@ cache:
|
||||
paths:
|
||||
- /home/conan/.conan/
|
||||
|
||||
prepare:
|
||||
stage: prepare
|
||||
script:
|
||||
- mkdir ../checkout
|
||||
- cp -Rv * ../checkout
|
||||
artifacts:
|
||||
paths:
|
||||
- ../checkout/
|
||||
|
||||
conan:
|
||||
stage: conan
|
||||
script:
|
||||
- mkdir ../checkout/build
|
||||
- cd ../chekout/build
|
||||
- mkdir build
|
||||
- cd 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 install .. --build=missing
|
||||
artifacts:
|
||||
paths:
|
||||
- ../checkout/
|
||||
|
||||
# Unix Build
|
||||
cmake:
|
||||
stage: cmake
|
||||
script:
|
||||
- cd ../checkout/build
|
||||
- cd build
|
||||
- cmake -S . -B ../build -D WinBuild=OFF -D GUI=OFF
|
Loading…
Reference in New Issue
Block a user