Mercurial > minori
annotate .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 |
rev | line source |
---|---|
125
4067388485c1
builds: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
1 image: debian/bookworm |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
2 packages: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
3 - wget |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
4 - tar |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
5 - zstd |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
6 - gpg |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
7 - clang |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
8 - lld |
126
ee587ec52831
builds: xz -> xz-utils, ncurses -> ncurses-bin
Paper <mrpapersonic@gmail.com>
parents:
125
diff
changeset
|
9 - xz-utils |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
10 - wine |
237 | 11 - automake |
12 - autoconf | |
13 - libtool | |
126
ee587ec52831
builds: xz -> xz-utils, ncurses -> ncurses-bin
Paper <mrpapersonic@gmail.com>
parents:
125
diff
changeset
|
14 - ncurses-bin |
125
4067388485c1
builds: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
15 - qtbase5-dev |
127
fb6033e8f872
builds: qttools5-dev-tools -> qttools5-dev
Paper <mrpapersonic@gmail.com>
parents:
126
diff
changeset
|
16 - qttools5-dev |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
17 sources: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
18 - https://hg.sr.ht/~mrpapersonic/minori |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
19 tasks: |
237 | 20 - autoreconf: | |
21 cd minori | |
22 autoreconf -i | |
203
ed376fc37802
ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents:
133
diff
changeset
|
23 - build-win64: | |
206
9e03e23c7a44
CI/windows: fix wine32 warnings, use separate wine prefixes
Paper <paper@paper.us.eu.org>
parents:
205
diff
changeset
|
24 export WINEARCH=win64 |
203
ed376fc37802
ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents:
133
diff
changeset
|
25 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 |
ed376fc37802
ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents:
133
diff
changeset
|
26 cd quasi-msys2-win64 |
ed376fc37802
ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents:
133
diff
changeset
|
27 echo MINGW64 >msystem.txt |
237 | 28 make install _gcc _qt5-base _qt5-tools _curl |
29 mkdir -p ../minori/build64 | |
30 cd ../minori/build64 | |
203
ed376fc37802
ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents:
133
diff
changeset
|
31 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' |
237 | 32 bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make' |
207
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
206
diff
changeset
|
33 - get-wine32: | |
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
206
diff
changeset
|
34 sudo dpkg --add-architecture i386 |
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
206
diff
changeset
|
35 sudo apt-get update |
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
206
diff
changeset
|
36 sudo apt-get -y install wine32:i386 |
206
9e03e23c7a44
CI/windows: fix wine32 warnings, use separate wine prefixes
Paper <paper@paper.us.eu.org>
parents:
205
diff
changeset
|
37 - build-win32: | |
133 | 38 export WINEARCH=win32 |
206
9e03e23c7a44
CI/windows: fix wine32 warnings, use separate wine prefixes
Paper <paper@paper.us.eu.org>
parents:
205
diff
changeset
|
39 export WINEPREFIX="$HOME/.wine32" |
203
ed376fc37802
ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents:
133
diff
changeset
|
40 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 |
ed376fc37802
ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents:
133
diff
changeset
|
41 cd quasi-msys2-win32 |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
42 echo MINGW32 >msystem.txt |
111
fcae8bece0ec
builds: add missing qt-tools dependency
Paper <mrpapersonic@gmail.com>
parents:
35
diff
changeset
|
43 make install _gcc _qt5-base _qt5-tools _curl |
237 | 44 mkdir -p ../minori/build32 |
45 cd ../minori/build32 | |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
46 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' |
237 | 47 bash -c 'source ../../quasi-msys2-win32/env/all.src && ../configure && make' |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
48 triggers: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
49 - action: email |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
50 condition: failure |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
51 to: Paper <mrpapersonic@gmail.com> |