diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-09-22 23:08:41 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-09-23 00:17:06 +0000 |
commit | 8bb5be35259937fb764febec8c91f2084f04ebf1 (patch) | |
tree | 67be22448fc84cd423b0c98fd871671d60d4e32e /appveyor.yml | |
parent | 9c7c924e3c235282e3bb86d01f46b2d4301b0c67 (diff) |
Run tests on Appveyor (Windows native build).
We ignore the errors for now.
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/appveyor.yml b/appveyor.yml index bbf1ff1e..8353352b 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
@@ -21,13 +21,18 @@ install: | |||
21 | - copy Pre-built.2\lib\x86\* Pre-built.2\lib\ | 21 | - copy Pre-built.2\lib\x86\* Pre-built.2\lib\ |
22 | - cd ../.. | 22 | - cd ../.. |
23 | 23 | ||
24 | # TODO currently don't have prebuilt libraries for libvpx and libopus so we will just build with BUILD_TOXAV=OFF for now | 24 | # TODO(sphaerophoria): currently don't have prebuilt libraries for libvpx and |
25 | # libopus so we will just build with BUILD_TOXAV=OFF for now. | ||
25 | before_build: | 26 | before_build: |
26 | - cmake . -DBOOTSTRAP_DAEMON=OFF -DENABLE_SHARED=OFF -DBUILD_TOXAV=OFF -DCMAKE_PREFIX_PATH="third_party\pthreads-win32\Pre-built.2;third_party\libsodium" | 27 | - 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" |
27 | 28 | ||
28 | build: | 29 | build: |
29 | project: INSTALL.vcxproj | 30 | project: _build/INSTALL.vcxproj |
30 | 31 | ||
31 | # TODO(iphydf): Tests all segfault on Windows at the moment. | 32 | test_script: |
32 | # test_script: | 33 | - copy third_party\pthreads-win32\Pre-built.2\dll\x86\*.dll _build |
33 | # - ctest -C Debug | 34 | - copy third_party\libsodium\Win32\Debug\v140\dynamic\libsodium.dll _build |
35 | - cd _build | ||
36 | # TODO(iphydf): Tests are unstable and slow on windows at the moment. | ||
37 | - ctest -j50 --output-on-failure -C Debug & | ||
38 | exit 0 | ||