CI: Compile tests.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
tastytea 2020-10-24 17:25:04 +02:00
parent d9d029b952
commit 0a1b9cfcaf
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -27,12 +27,12 @@ steps:
- apt-get update -q
- apt-get install -qq build-essential clang cmake pkg-config libcurl4-openssl-dev libjsoncpp-dev asciidoc
- rm -rf build && mkdir -p build && cd build
- cmake ..
- cmake -DWITH_TESTS=yes ..
- cmake --build .
- cd tests && ctest -V
- cd ../..
- cd ../../
- rm -rf build && mkdir -p build && cd build
- CXX="clang++" cmake ..
- CXX="clang++" cmake -DWITH_TESTS=yes ..
- cmake --build .
- cd tests && ctest -V
- make install