annotate .builds/windows.yml @ 239:cae61340cc86

configure: check pkg-config for qt
author Paper <paper@paper.us.eu.org>
date Fri, 19 Jan 2024 12:29:53 -0500
parents a7d0d543b334
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
a7d0d543b334 *: make OS X builds succeed
Paper <paper@paper.us.eu.org>
parents: 236
diff changeset
11 - automake
a7d0d543b334 *: make OS X builds succeed
Paper <paper@paper.us.eu.org>
parents: 236
diff changeset
12 - autoconf
a7d0d543b334 *: make OS X builds succeed
Paper <paper@paper.us.eu.org>
parents: 236
diff changeset
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:
239
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
20 - get-wine: |
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
21 sudo dpkg --add-architecture i386
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
22
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
23 sudo mkdir -pm755 /etc/apt/keyrings
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
24 sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
25
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
26 sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
27
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
28 sudo apt update
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
29
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
30 sudo apt install -y --install-recommends winehq-devel
237
a7d0d543b334 *: make OS X builds succeed
Paper <paper@paper.us.eu.org>
parents: 236
diff changeset
31 - autoreconf: |
a7d0d543b334 *: make OS X builds succeed
Paper <paper@paper.us.eu.org>
parents: 236
diff changeset
32 cd minori
a7d0d543b334 *: make OS X builds succeed
Paper <paper@paper.us.eu.org>
parents: 236
diff changeset
33 autoreconf -i
239
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
34 - install-win64-deps: |
206
9e03e23c7a44 CI/windows: fix wine32 warnings, use separate wine prefixes
Paper <paper@paper.us.eu.org>
parents: 205
diff changeset
35 export WINEARCH=win64
203
ed376fc37802 ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents: 133
diff changeset
36 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
37 cd quasi-msys2-win64
ed376fc37802 ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents: 133
diff changeset
38 echo MINGW64 >msystem.txt
237
a7d0d543b334 *: make OS X builds succeed
Paper <paper@paper.us.eu.org>
parents: 236
diff changeset
39 make install _gcc _qt5-base _qt5-tools _curl
239
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
40 sudo ln -nfs $(realpath ./root/mingw64) /mingw64
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
41 - build-win64: |
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
42 export WINEARCH=win64
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
43 mkdir -p minori/build64
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
44 cd minori/build64
203
ed376fc37802 ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents: 133
diff changeset
45 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
237
a7d0d543b334 *: make OS X builds succeed
Paper <paper@paper.us.eu.org>
parents: 236
diff changeset
46 bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make'
239
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
47 - install-win32-deps: |
133
4c5d11d294dd builds: fix win32 build
Paper <mrpapersonic@gmail.com>
parents: 131
diff changeset
48 export WINEARCH=win32
206
9e03e23c7a44 CI/windows: fix wine32 warnings, use separate wine prefixes
Paper <paper@paper.us.eu.org>
parents: 205
diff changeset
49 export WINEPREFIX="$HOME/.wine32"
203
ed376fc37802 ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents: 133
diff changeset
50 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
51 cd quasi-msys2-win32
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
52 echo MINGW32 >msystem.txt
111
fcae8bece0ec builds: add missing qt-tools dependency
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
53 make install _gcc _qt5-base _qt5-tools _curl
239
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
54 - build-win32: |
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
55 export WINEARCH=win32
cae61340cc86 configure: check pkg-config for qt
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
56 export WINEPREFIX="$HOME/.wine32"
237
a7d0d543b334 *: make OS X builds succeed
Paper <paper@paper.us.eu.org>
parents: 236
diff changeset
57 mkdir -p ../minori/build32
a7d0d543b334 *: make OS X builds succeed
Paper <paper@paper.us.eu.org>
parents: 236
diff changeset
58 cd ../minori/build32
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
59 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
237
a7d0d543b334 *: make OS X builds succeed
Paper <paper@paper.us.eu.org>
parents: 236
diff changeset
60 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
61 triggers:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
62 - action: email
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
63 condition: failure
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
64 to: Paper <mrpapersonic@gmail.com>