Revert "ci: Move wine prefix to /tmp to avoid error D8037 in cl.exe"

This reverts commit 27504d5c941df89bc828067248270179c9dcb04b.
This commit is contained in:
Hennadii Stepanov 2023-06-02 16:13:29 +01:00
parent bf29f8d0a6
commit 7dae115861
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

View File

@ -31,9 +31,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
python3 msvc-wine/vsdownload.py --accept-license --dest /opt/msvc Microsoft.VisualStudio.Workload.VCTools && \
msvc-wine/install.sh /opt/msvc
# Moving the wine prefix to /tmp avoids error D8037 when invoking cl.exe.
ENV WINEPREFIX=/tmp/wineprefix
# Initialize the wine prefix. Wait until the wineserver process has
# Initialize the wine environment. Wait until the wineserver process has
# exited before closing the session, to avoid corrupting the wine prefix.
RUN wine64 wineboot --init && \
while (ps -A | grep wineserver) > /dev/null; do sleep 1; done