diff options
author | Martin Storsjö <martin@martin.st> | 2019-02-15 16:51:15 +0300 |
---|---|---|
committer | Jean-Baptiste Kempf <jb@videolan.org> | 2019-02-17 21:02:52 +0300 |
commit | 03315f95e617cac285dc1aaec9db04a0ed64f731 (patch) | |
tree | 4ccac17829fa56b2a632fdf743d276a6966ad7b0 /.gitlab-ci.yml | |
parent | a43f2790db9f11d18614d63feeca7d798add18fe (diff) |
ci: Add a job that runs all tests for a mingw build in wine
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ecbde8..b823663 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -278,3 +278,27 @@ test-debian-ubsan: - ninja -C build - cd build && time meson test -v --setup=sanitizer dependencies: [] + +test-win64: + image: registry.videolan.org:5000/dav1d-debian-unstable:20190215130514 + stage: test + tags: + - debian + - amd64 + cache: + key: testdata.git-20190215 + paths: + - cache/dav1d-test-data.git/ + script: + - test -d cache || mkdir cache + - test -d cache/dav1d-test-data.git && GIT_DIR=cache/dav1d-test-data.git git fetch --refmap=refs/heads/master:refs/heads/master origin master + - test -d cache/dav1d-test-data.git || git clone --bare https://code.videolan.org/videolan/dav1d-test-data.git cache/dav1d-test-data.git + - git clone cache/dav1d-test-data.git tests/dav1d-test-data + - wineserver -p && wine wineboot + - meson build --buildtype release + -Dtestdata_tests=true + -Dlogging=false + --cross-file /opt/crossfiles/x86_64-w64-mingw32.meson + - ninja -C build + - cd build && time meson test -v + dependencies: [] |