ref: 3fade2b967f043617a868cc5ea942f0b276732d5
parent: 3fa05675dcbc723669ffd55603fc3501b6218631
author: Martin Storsjö <martin@martin.st>
date: Fri Feb 15 10:13:43 EST 2019
ci: Run tests (checkasm) in the win32/win64 builders These tests can now be run in wine. Setting up a persistent wineserver for this run probably isn't necessary as there will only be two wine invocations (one within meson to check that executing binaries works, and one when running checkasm), but it serves as an example of a good practice when running things with wine.
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,6 +54,7 @@
tags:
- win32
script:
+ - wineserver -p && wine wineboot
- meson build --buildtype release
--werror
--libdir lib
@@ -62,6 +63,7 @@
-Ddefault_library=both
- ninja -C build
- ninja -C build install
+ - cd build && meson test -v
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:
@@ -74,6 +76,7 @@
tags:
- win64
script:
+ - wineserver -p && wine wineboot
- meson build --buildtype release
--werror
--libdir lib
@@ -82,6 +85,7 @@
-Ddefault_library=both
- ninja -C build
- ninja -C build install
+ - cd build && meson test -v
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths: