Skip to content

Commit 27504d5

Browse files
ci: Move wine prefix to /tmp to avoid error D8037 in cl.exe
Don't ask me why this makes a difference. It may be some permission problem even though everything in Cirrus CI runs as root anyway. In any case, I'll probably get mad if I investigate this further. Fixes #1326.
1 parent d373a72 commit 27504d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/linux-debian.Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
3131
python3 msvc-wine/vsdownload.py --accept-license --dest /opt/msvc Microsoft.VisualStudio.Workload.VCTools && \
3232
msvc-wine/install.sh /opt/msvc
3333

34-
# Initialize the wine environment. Wait until the wineserver process has
34+
# Moving the wine prefix to /tmp avoids error D8037 when invoking cl.exe.
35+
ENV WINEPREFIX=/tmp/wineprefix
36+
# Initialize the wine prefix. Wait until the wineserver process has
3537
# exited before closing the session, to avoid corrupting the wine prefix.
3638
RUN wine64 wineboot --init && \
3739
while (ps -A | grep wineserver) > /dev/null; do sleep 1; done

0 commit comments

Comments
 (0)