annotate .builds/windows.yml @ 205:ac3b2931b2a9

CI/windows: don't have clashing build directories
author Paper <paper@paper.us.eu.org>
date Tue, 02 Jan 2024 06:36:01 -0500
parents 1e7a6231f12c
children 9e03e23c7a44
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
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
11 - cmake
126
ee587ec52831 builds: xz -> xz-utils, ncurses -> ncurses-bin
Paper <mrpapersonic@gmail.com>
parents: 125
diff changeset
12 - ncurses-bin
125
4067388485c1 builds: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 111
diff changeset
13 - qtbase5-dev
127
fb6033e8f872 builds: qttools5-dev-tools -> qttools5-dev
Paper <mrpapersonic@gmail.com>
parents: 126
diff changeset
14 - qttools5-dev
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
15 sources:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
16 - https://hg.sr.ht/~mrpapersonic/minori
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
17 environment:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
18 BUILD_SUBMITTER: hg.sr.ht
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
19 tasks:
203
ed376fc37802 ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents: 133
diff changeset
20 - build-win64: |
ed376fc37802 ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents: 133
diff changeset
21 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
22 cd quasi-msys2-win64
ed376fc37802 ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents: 133
diff changeset
23 echo MINGW64 >msystem.txt
ed376fc37802 ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents: 133
diff changeset
24 make install _gcc _qt5-base _qt5-tools _curl
ed376fc37802 ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents: 133
diff changeset
25 cd ../minori
205
ac3b2931b2a9 CI/windows: don't have clashing build directories
Paper <paper@paper.us.eu.org>
parents: 204
diff changeset
26 mkdir build64
ac3b2931b2a9 CI/windows: don't have clashing build directories
Paper <paper@paper.us.eu.org>
parents: 204
diff changeset
27 cd build64
203
ed376fc37802 ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents: 133
diff changeset
28 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
204
1e7a6231f12c CI/windows: fix typos in path names
Paper <paper@paper.us.eu.org>
parents: 203
diff changeset
29 bash -c 'source ../../quasi-msys2-win64/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make'
131
5c48adf4ca1f builds/win32: install wine32
Paper <mrpapersonic@gmail.com>
parents: 128
diff changeset
30 - get-wine32: |
5c48adf4ca1f builds/win32: install wine32
Paper <mrpapersonic@gmail.com>
parents: 128
diff changeset
31 sudo dpkg --add-architecture i386
5c48adf4ca1f builds/win32: install wine32
Paper <mrpapersonic@gmail.com>
parents: 128
diff changeset
32 sudo apt-get update
133
4c5d11d294dd builds: fix win32 build
Paper <mrpapersonic@gmail.com>
parents: 131
diff changeset
33 sudo apt-get -y install wine32:i386
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
34 - build: |
133
4c5d11d294dd builds: fix win32 build
Paper <mrpapersonic@gmail.com>
parents: 131
diff changeset
35 export WINEARCH=win32
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-win32
ed376fc37802 ci: combine windows build scripts
Paper <paper@paper.us.eu.org>
parents: 133
diff changeset
37 cd quasi-msys2-win32
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
38 echo MINGW32 >msystem.txt
111
fcae8bece0ec builds: add missing qt-tools dependency
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
39 make install _gcc _qt5-base _qt5-tools _curl
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
40 cd ../minori
205
ac3b2931b2a9 CI/windows: don't have clashing build directories
Paper <paper@paper.us.eu.org>
parents: 204
diff changeset
41 mkdir build32
ac3b2931b2a9 CI/windows: don't have clashing build directories
Paper <paper@paper.us.eu.org>
parents: 204
diff changeset
42 cd build32
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
43 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
204
1e7a6231f12c CI/windows: fix typos in path names
Paper <paper@paper.us.eu.org>
parents: 203
diff changeset
44 bash -c 'source ../../quasi-msys2-win32/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make'
35
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
45 triggers:
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
46 - action: email
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
47 condition: failure
329b7921a6be ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents: 30
diff changeset
48 to: Paper <mrpapersonic@gmail.com>