Mercurial > minori
comparison .builds/windows.yml @ 237:a7d0d543b334
*: make OS X builds succeed
new script: deploy_build.sh, creates the app bundle
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Fri, 19 Jan 2024 11:14:44 -0500 |
parents | 4d461ef7d424 |
children | cae61340cc86 |
comparison
equal
deleted
inserted
replaced
236:4d461ef7d424 | 237:a7d0d543b334 |
---|---|
6 - gpg | 6 - gpg |
7 - clang | 7 - clang |
8 - lld | 8 - lld |
9 - xz-utils | 9 - xz-utils |
10 - wine | 10 - wine |
11 - cmake | 11 - automake |
12 - autoconf | |
13 - libtool | |
12 - ncurses-bin | 14 - ncurses-bin |
13 - qtbase5-dev | 15 - qtbase5-dev |
14 - qttools5-dev | 16 - qttools5-dev |
15 sources: | 17 sources: |
16 - https://hg.sr.ht/~mrpapersonic/minori | 18 - https://hg.sr.ht/~mrpapersonic/minori |
17 environment: | |
18 BUILD_SUBMITTER: hg.sr.ht | |
19 tasks: | 19 tasks: |
20 - autoreconf: | | |
21 cd minori | |
22 autoreconf -i | |
20 - build-win64: | | 23 - build-win64: | |
21 export WINEARCH=win64 | 24 export WINEARCH=win64 |
22 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 | 25 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 |
23 cd quasi-msys2-win64 | 26 cd quasi-msys2-win64 |
24 echo MINGW64 >msystem.txt | 27 echo MINGW64 >msystem.txt |
25 make install _gcc _qt5-base _qt5-tools _curl _autotools | 28 make install _gcc _qt5-base _qt5-tools _curl |
26 cd ../minori | 29 mkdir -p ../minori/build64 |
30 cd ../minori/build64 | |
27 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' | 31 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' |
28 bash -c 'source ../../quasi-msys2-win64/env/all.src && autoreconf -i && cd dep/animia && autoreconf -i && cd ../anitomy && autoreconf -i && cd ../pugixml && autoreconf -i && ../.. && mkdir build64 && cd build64 && ../configure && make' | 32 bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make' |
29 - get-wine32: | | 33 - get-wine32: | |
30 sudo dpkg --add-architecture i386 | 34 sudo dpkg --add-architecture i386 |
31 sudo apt-get update | 35 sudo apt-get update |
32 sudo apt-get -y install wine32:i386 | 36 sudo apt-get -y install wine32:i386 |
33 - build-win32: | | 37 - build-win32: | |
35 export WINEPREFIX="$HOME/.wine32" | 39 export WINEPREFIX="$HOME/.wine32" |
36 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 | 40 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 |
37 cd quasi-msys2-win32 | 41 cd quasi-msys2-win32 |
38 echo MINGW32 >msystem.txt | 42 echo MINGW32 >msystem.txt |
39 make install _gcc _qt5-base _qt5-tools _curl | 43 make install _gcc _qt5-base _qt5-tools _curl |
40 cd ../minori | 44 mkdir -p ../minori/build32 |
41 mkdir build32 | 45 cd ../minori/build32 |
42 cd build32 | |
43 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' | 46 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' |
44 bash -c 'source ../../quasi-msys2-win32/env/all.src && autoreconf -i && cd dep/animia && autoreconf -i && cd ../anitomy && autoreconf -i && cd ../pugixml && autoreconf -i && ../.. && mkdir build32 && cd build32 && ../configure && make' | 47 bash -c 'source ../../quasi-msys2-win32/env/all.src && ../configure && make' |
45 triggers: | 48 triggers: |
46 - action: email | 49 - action: email |
47 condition: failure | 50 condition: failure |
48 to: Paper <mrpapersonic@gmail.com> | 51 to: Paper <mrpapersonic@gmail.com> |