Mercurial > minori
comparison .builds/win32.yml @ 133:4c5d11d294dd
builds: fix win32 build
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 09 Nov 2023 11:45:38 -0500 |
parents | 5c48adf4ca1f |
children |
comparison
equal
deleted
inserted
replaced
132:c2dab54abc79 | 133:4c5d11d294dd |
---|---|
19 BUILD_SUBMITTER: hg.sr.ht | 19 BUILD_SUBMITTER: hg.sr.ht |
20 tasks: | 20 tasks: |
21 - get-wine32: | | 21 - get-wine32: | |
22 sudo dpkg --add-architecture i386 | 22 sudo dpkg --add-architecture i386 |
23 sudo apt-get update | 23 sudo apt-get update |
24 sudo apt-get install wine32:i386 | 24 sudo apt-get -y install wine32:i386 |
25 - build: | | 25 - build: | |
26 export WINEARCH=win32 | |
26 cd quasi-msys2 | 27 cd quasi-msys2 |
27 echo MINGW32 >msystem.txt | 28 echo MINGW32 >msystem.txt |
28 make install _gcc _qt5-base _qt5-tools _curl | 29 make install _gcc _qt5-base _qt5-tools _curl |
29 cd ../minori | 30 cd ../minori |
30 mkdir build | 31 mkdir build |
31 cd build | 32 cd build |
32 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' | 33 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' |
33 bash -c 'source ../../quasi-msys2/env/all.src && export AUTOMOC_EXECUTABLE="$(which moc)" && export AUTORCC_EXECUTABLE="$(which rcc)" && cmake .. -G "Unix Makefiles" && make' | 34 bash -c 'source ../../quasi-msys2/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make' |
34 triggers: | 35 triggers: |
35 - action: email | 36 - action: email |
36 condition: failure | 37 condition: failure |
37 to: Paper <mrpapersonic@gmail.com> | 38 to: Paper <mrpapersonic@gmail.com> |