genetic-images/.gitlab-ci.yml

25 lines
693 B
YAML

image: conanio/clang7
stages:
- build
job A:
stage: build
before_script:
- sudo pip install --upgrade conan
- conan user
- conan profile new default --detect
- conan profile update settings.compiler=clang default
- conan profile update settings.compiler.version=7.0 default
- conan profile update settings.compiler.libcxx=libstdc++11 default
- conan profile update env.CC=/usr/bin/clang default
- conan profile update env.CXX=/usr/bin/clang++ default
script:
- mkdir build && cd build
- conan install .. --build missing
- cmake -DCMAKE_CXX_COMPILER=clang++ .. -G Ninja
- cmake --build .
cache:
key: libraries
path: ~/.conan/