Mercurial > minori
comparison .builds/windows.yml @ 297:1d59a3f72c52
CI: new and improved windows build
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 13 May 2024 03:00:10 -0400 |
parents | |
children | 8eb0cfe59992 |
comparison
equal
deleted
inserted
replaced
296:b2a4358da16c | 297:1d59a3f72c52 |
---|---|
1 image: debian/bookworm | |
2 packages: | |
3 - autoconf | |
4 - automake | |
5 - libtool | |
6 - autotools-dev | |
7 - pkg-config | |
8 - libcurl4-openssl-dev | |
9 - wget | |
10 - tar | |
11 - zstd | |
12 - gpg | |
13 - clang | |
14 - lld | |
15 - xz-utils | |
16 - wine | |
17 - ncurses-bin | |
18 - qtbase5-dev | |
19 - qttools5-dev | |
20 - zip | |
21 sources: | |
22 - hg+https://hg.sr.ht/~mrpapersonic/minori | |
23 environment: | |
24 BUILD_SUBMITTER: hg.sr.ht | |
25 tasks: | |
26 - build-win64: | | |
27 export WINEARCH=win64 | |
28 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 | |
29 cd quasi-msys2-win64 | |
30 echo MINGW64 >msystem.txt | |
31 make install _gcc _qt5-base _qt5-tools _curl | |
32 cd ../minori | |
33 autoreconf -i | |
34 mkdir build64 | |
35 cd build64 | |
36 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' | |
37 bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make && env DIR=minori64 bash ../scripts/win32/deploy_build.sh' | |
38 - get-wine32: | | |
39 sudo dpkg --add-architecture i386 | |
40 sudo apt-get update | |
41 sudo apt-get -y install wine32:i386 | |
42 - build-win32: | | |
43 export WINEARCH=win32 | |
44 export WINEPREFIX="$HOME/.wine32" | |
45 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 | |
46 cd quasi-msys2-win32 | |
47 echo MINGW32 >msystem.txt | |
48 make install _gcc _qt5-base _qt5-tools _curl | |
49 cd ../minori | |
50 mkdir build32 | |
51 cd build32 | |
52 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' | |
53 bash -c 'source ../../quasi-msys2-win32/env/all.src && ../configure && make && env DIR=minori32 bash ../scripts/win32/deploy_build.sh' | |
54 artifacts: | |
55 - minori/build64/minori64.zip | |
56 - minori/build32/minori32.zip | |
57 triggers: | |
58 - action: email | |
59 condition: failure | |
60 to: Paper <mrpapersonic@gmail.com> |