Skip to content

Commit

Permalink
ci: Run persistent wineserver to speed up wine
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Mar 16, 2022
1 parent 821ac56 commit fabbe8e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ci/cirrus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ 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*)
wineserver -p
;;
esac

env >> test_env.log

$CC -v || true
Expand Down Expand Up @@ -64,6 +72,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

0 comments on commit fabbe8e

Please sign in to comment.