ref: 03315f95e617cac285dc1aaec9db04a0ed64f731
parent: a43f2790db9f11d18614d63feeca7d798add18fe
author: Martin Storsjö <martin@martin.st>
date: Fri Feb 15 10:51:15 EST 2019
ci: Add a job that runs all tests for a mingw build in wine
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -278,3 +278,27 @@
- 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: []