20 lines
624 B
YAML
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 .
|