fix docker image

This commit is contained in:
lukas 2021-03-15 18:31:46 +01:00
parent b5aa78a59f
commit 916bdb7358

View File

@ -1,6 +1,6 @@
include: '/Docker/Linux_Conan/.gitlab-ci.yml'
image: luki42/dynuiprefresher_build:conanbuild
image: conanio/gcc10
stages:
- docker
@ -13,12 +13,13 @@ cache:
conan:
stage: build
script:
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=disabled conan install . --build=missing -g cmake -if build
- cmake -S . -B build -D WinBuild=OFF -D GUI=OFF #cmake project
- 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: