From b55e0c54731d3f36363546f9361afa4eb42598e1 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 17 Jul 2020 12:17:16 +0200 Subject: [PATCH] Tell the build server to run a tests build. --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index fe7a14f..4f40f69 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ steps: CC: /usr/bin/clang CXX: /usr/bin/clang++ commands: - - cmake -DCMAKE_BUILD_TYPE=Debug . -B build-debug -DSTATICC=ON + - cmake -DCMAKE_BUILD_TYPE=Debug . -B build-debug -DSTATICC=ON -DTESTS=ON - cmake --build build-debug --target all -- -j 4 - build-debug/ArbutilsTests -s --durations yes --use-colour yes - name: test-release-linux @@ -18,7 +18,7 @@ steps: CC: /usr/bin/clang CXX: /usr/bin/clang++ commands: - - cmake -DCMAKE_BUILD_TYPE=Release . -B build-release -DSTATICC=ON + - cmake -DCMAKE_BUILD_TYPE=Release . -B build-release -DSTATICC=ON -DTESTS=ON - cmake --build build-release --target all -- -j 4 - build-release/ArbutilsTests -s --durations yes --use-colour yes - valgrind --tool=memcheck --gen-suppressions=all --leak-check=full --leak-resolution=med --track-origins=yes --vgdb=no --error-exitcode=1 build-release/ArbutilsTests @@ -34,7 +34,7 @@ steps: - update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix - update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix - update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix - - cmake -DCMAKE_BUILD_TYPE=Release . -B build-release-windows -D CMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DWINDOWS=ON -DSTATICC=ON + - cmake -DCMAKE_BUILD_TYPE=Release . -B build-release-windows -D CMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DWINDOWS=ON -DSTATICC=ON -DTESTS=ON - cmake --build build-release-windows --target all -- -j 4 - export WINEARCH=win64 - cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll /drone/src/build-release-windows/