masters-thesis/.drone.yml
2021-03-07 16:26:08 +02:00

19 lines
468 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build and test
pull: never
image: erki/llvm:latest
commands:
- pip3 install --upgrade conan
- conan profile new default --detect
- conan profile update settings.compiler.libcxx=libstdc++11 default
- mkdir build
- cd build
- conan install .. --build=missing
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON
- ninja
- ctest . --output-on-failure