masters-thesis/.drone.yml
Erki 12afc6633e
Some checks failed
continuous-integration/drone/push Build is failing
Okay maybe?
2022-06-18 11:27:16 +03:00

37 lines
1.1 KiB
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build and test
pull: never
image: erki/llvm:latest
commands:
- apt install --no-install-recommends python3-pip -y
- pip3 install --upgrade conan
- conan profile new default --detect
- conan profile update settings.compiler.libcxx=libstdc++11 default
- mkdir -p build
- cd build
- conan install .. --build=missing
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON
- ninja
- ctest . --output-on-failure
- name: opsummarizer integration tests
pull: never
image: erki/llvm:latest
commands:
- apt install --no-install-recommends gcovr python3-pip -y
- pip3 install --upgrade conan
- conan profile new default --detect
- conan profile update settings.compiler.libcxx=libstdc++11 default
- mkdir -p build
- cd build
- conan install .. --build=missing
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=OFF
- ninja op-finder
- cp -r ../testcases ./testcases
- cd ./testcases
- ln ../op-finder/op-finder ./op-finder
- python3 ../../op-summarizer/tests.py