test GitlabCI

This commit is contained in:
Phuntsok Drak-pa 2019-03-26 14:42:28 +01:00
parent 00f77bbe2a
commit 7b69d8502f

19
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,19 @@
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 .