include: '/Docker/Linux_Conan/.gitlab-ci.yml' image: conanio/gcc10 stages: - docker - build - packageing cache: paths: - .conan/ conan_linux: stage: build 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=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: paths: - build/bin/ expire_in: 1 days conan_windows: stage: build image: luki42/dynuiprefresher_build:latest 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=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: paths: - build/bin/ expire_in: 1 days