comparison .builds/windows.yml @ 206:9e03e23c7a44

CI/windows: fix wine32 warnings, use separate wine prefixes
author Paper <paper@paper.us.eu.org>
date Tue, 02 Jan 2024 06:48:20 -0500
parents ac3b2931b2a9
children 9d9e6242dd1a
comparison
equal deleted inserted replaced
205:ac3b2931b2a9 206:9e03e23c7a44
15 sources: 15 sources:
16 - https://hg.sr.ht/~mrpapersonic/minori 16 - https://hg.sr.ht/~mrpapersonic/minori
17 environment: 17 environment:
18 BUILD_SUBMITTER: hg.sr.ht 18 BUILD_SUBMITTER: hg.sr.ht
19 tasks: 19 tasks:
20 - get-wine32: |
21 sudo dpkg --add-architecture i386
22 sudo apt-get update
23 sudo apt-get -y install wine32:i386
20 - build-win64: | 24 - build-win64: |
25 export WINEARCH=win64
26 export WINEPREFIX="$HOME/.wine64"
21 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 27 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64
22 cd quasi-msys2-win64 28 cd quasi-msys2-win64
23 echo MINGW64 >msystem.txt 29 echo MINGW64 >msystem.txt
24 make install _gcc _qt5-base _qt5-tools _curl 30 make install _gcc _qt5-base _qt5-tools _curl
25 cd ../minori 31 cd ../minori
26 mkdir build64 32 mkdir build64
27 cd build64 33 cd build64
28 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' 34 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
29 bash -c 'source ../../quasi-msys2-win64/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make' 35 bash -c 'source ../../quasi-msys2-win64/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make'
30 - get-wine32: | 36 - build-win32: |
31 sudo dpkg --add-architecture i386
32 sudo apt-get update
33 sudo apt-get -y install wine32:i386
34 - build: |
35 export WINEARCH=win32 37 export WINEARCH=win32
38 export WINEPREFIX="$HOME/.wine32"
36 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 39 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32
37 cd quasi-msys2-win32 40 cd quasi-msys2-win32
38 echo MINGW32 >msystem.txt 41 echo MINGW32 >msystem.txt
39 make install _gcc _qt5-base _qt5-tools _curl 42 make install _gcc _qt5-base _qt5-tools _curl
40 cd ../minori 43 cd ../minori