# HG changeset patch # User Paper # Date 1704196100 18000 # Node ID 9e03e23c7a44c059375d1d936bc4115a10beaa9a # Parent ac3b2931b2a9c1b60b28683366e6d34a32b07f63 CI/windows: fix wine32 warnings, use separate wine prefixes diff -r ac3b2931b2a9 -r 9e03e23c7a44 .builds/windows.yml --- a/.builds/windows.yml Tue Jan 02 06:36:01 2024 -0500 +++ b/.builds/windows.yml Tue Jan 02 06:48:20 2024 -0500 @@ -17,7 +17,13 @@ environment: BUILD_SUBMITTER: hg.sr.ht tasks: + - get-wine32: | + sudo dpkg --add-architecture i386 + sudo apt-get update + sudo apt-get -y install wine32:i386 - build-win64: | + export WINEARCH=win64 + export WINEPREFIX="$HOME/.wine64" git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 cd quasi-msys2-win64 echo MINGW64 >msystem.txt @@ -27,12 +33,9 @@ cd build64 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' bash -c 'source ../../quasi-msys2-win64/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make' - - get-wine32: | - sudo dpkg --add-architecture i386 - sudo apt-get update - sudo apt-get -y install wine32:i386 - - build: | + - build-win32: | export WINEARCH=win32 + export WINEPREFIX="$HOME/.wine32" git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 cd quasi-msys2-win32 echo MINGW32 >msystem.txt