genetic-images/.gitlab-ci.yml
Phuntsok Drak-pa 7b69d8502f test GitlabCI
2019-03-26 14:42:28 +01:00

20 lines
624 B
YAML

image: conanio/clang7
stages:
- build
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 && cd build
- pwd
- conan install .. --build missing
- cmake -DCMAKE_CXX_COMPILER=clang++ .. -G Ninja
- cmake --build .