genetic-images/.gitlab-ci.yml
Phuntsok Drak-pa 66f089641e Test #3
2019-03-26 14:47:50 +01:00

18 lines
612 B
YAML

image: conanio/clang7
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=/bin/clang default
- conan profile update env.CXX=/bin/clang++ default
script:
- mkdir build && cd build
- pwd
- conan install .. --build missing
- cmake -DCMAKE_CXX_COMPILER=clang++ .. -G Ninja
- cmake --build .