Mercurial > minori
comparison .builds/windows.yml @ 207:9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 02 Jan 2024 07:08:23 -0500 |
parents | 9e03e23c7a44 |
children | 4d461ef7d424 |
comparison
equal
deleted
inserted
replaced
206:9e03e23c7a44 | 207:9d9e6242dd1a |
---|---|
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 | |
24 - build-win64: | | 20 - build-win64: | |
25 export WINEARCH=win64 | 21 export WINEARCH=win64 |
26 export WINEPREFIX="$HOME/.wine64" | |
27 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 | 22 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 |
28 cd quasi-msys2-win64 | 23 cd quasi-msys2-win64 |
29 echo MINGW64 >msystem.txt | 24 echo MINGW64 >msystem.txt |
30 make install _gcc _qt5-base _qt5-tools _curl | 25 make install _gcc _qt5-base _qt5-tools _curl |
31 cd ../minori | 26 cd ../minori |
32 mkdir build64 | 27 mkdir build64 |
33 cd build64 | 28 cd build64 |
34 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' | 29 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' |
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 bash -c 'source ../../quasi-msys2-win64/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make' |
31 - get-wine32: | | |
32 sudo dpkg --add-architecture i386 | |
33 sudo apt-get update | |
34 sudo apt-get -y install wine32:i386 | |
36 - build-win32: | | 35 - build-win32: | |
37 export WINEARCH=win32 | 36 export WINEARCH=win32 |
38 export WINEPREFIX="$HOME/.wine32" | 37 export WINEPREFIX="$HOME/.wine32" |
39 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 | 38 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 |
40 cd quasi-msys2-win32 | 39 cd quasi-msys2-win32 |