From 8bb5be35259937fb764febec8c91f2084f04ebf1 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sat, 22 Sep 2018 23:08:41 +0000 Subject: Run tests on Appveyor (Windows native build). We ignore the errors for now. --- appveyor.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index bbf1ff1e..8353352b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,13 +21,18 @@ install: - copy Pre-built.2\lib\x86\* Pre-built.2\lib\ - cd ../.. -# TODO currently don't have prebuilt libraries for libvpx and libopus so we will just build with BUILD_TOXAV=OFF for now +# TODO(sphaerophoria): currently don't have prebuilt libraries for libvpx and +# libopus so we will just build with BUILD_TOXAV=OFF for now. before_build: - - cmake . -DBOOTSTRAP_DAEMON=OFF -DENABLE_SHARED=OFF -DBUILD_TOXAV=OFF -DCMAKE_PREFIX_PATH="third_party\pthreads-win32\Pre-built.2;third_party\libsodium" + - cmake -B_build -H. -DBOOTSTRAP_DAEMON=OFF -DENABLE_SHARED=OFF -DBUILD_TOXAV=OFF -DTEST_TIMEOUT_SECONDS=120 -DCMAKE_PREFIX_PATH="third_party\pthreads-win32\Pre-built.2;third_party\libsodium" build: - project: INSTALL.vcxproj + project: _build/INSTALL.vcxproj -# TODO(iphydf): Tests all segfault on Windows at the moment. -# test_script: -# - ctest -C Debug +test_script: + - copy third_party\pthreads-win32\Pre-built.2\dll\x86\*.dll _build + - copy third_party\libsodium\Win32\Debug\v140\dynamic\libsodium.dll _build + - cd _build + # TODO(iphydf): Tests are unstable and slow on windows at the moment. + - ctest -j50 --output-on-failure -C Debug & + exit 0 -- cgit v1.2.3