ci: Run persistent wineserver to speed up wine
This commit is contained in:
parent
3fb3269c22
commit
51f296a46c
12
ci/cirrus.sh
12
ci/cirrus.sh
|
@ -5,6 +5,15 @@ set -x
|
|||
|
||||
export LC_ALL=C
|
||||
|
||||
# Start persistent wineserver if necessary.
|
||||
# This speeds up jobs with many invocations of wine (e.g., ./configure with MSVC) tremendously.
|
||||
case "$WRAPPER_CMD" in
|
||||
*wine*)
|
||||
# This is apparently only reliable when we run a dummy command such as "hh.exe" afterwards.
|
||||
wineserver -p && wine hh.exe
|
||||
;;
|
||||
esac
|
||||
|
||||
env >> test_env.log
|
||||
|
||||
$CC -v || true
|
||||
|
@ -64,6 +73,9 @@ then
|
|||
make precomp
|
||||
fi
|
||||
|
||||
# Shutdown wineserver again
|
||||
wineserver -k || true
|
||||
|
||||
# Check that no repo files have been modified by the build.
|
||||
# (This fails for example if the precomp files need to be updated in the repo.)
|
||||
git diff --exit-code
|
||||
|
|
Loading…
Reference in New Issue