2019-03-26 13:42:28 +00:00
|
|
|
image: conanio/clang7
|
2019-03-26 14:01:51 +00:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
job A:
|
|
|
|
stage: build
|
2019-03-26 13:42:28 +00:00
|
|
|
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
|
2019-03-26 13:54:41 +00:00
|
|
|
- conan profile update env.CC=/usr/bin/clang default
|
|
|
|
- conan profile update env.CXX=/usr/bin/clang++ default
|
2019-03-26 13:42:28 +00:00
|
|
|
script:
|
2019-03-26 13:47:50 +00:00
|
|
|
- mkdir build && cd build
|
2019-03-26 13:54:41 +00:00
|
|
|
- conan install .. --build missing
|
|
|
|
- cmake -DCMAKE_CXX_COMPILER=clang++ .. -G Ninja
|
|
|
|
- cmake --build .
|