comparison .builds/windows.yml @ 203:ed376fc37802

ci: combine windows build scripts
author Paper <paper@paper.us.eu.org>
date Tue, 02 Jan 2024 06:19:49 -0500
parents .builds/win32.yml@4c5d11d294dd
children 1e7a6231f12c
comparison
equal deleted inserted replaced
202:71832ffe425a 203:ed376fc37802
1 image: debian/bookworm
2 packages:
3 - wget
4 - tar
5 - zstd
6 - gpg
7 - clang
8 - lld
9 - xz-utils
10 - wine
11 - cmake
12 - ncurses-bin
13 - qtbase5-dev
14 - qttools5-dev
15 sources:
16 - https://hg.sr.ht/~mrpapersonic/minori
17 environment:
18 BUILD_SUBMITTER: hg.sr.ht
19 tasks:
20 - build-win64: |
21 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64
22 cd quasi-msys2-win64
23 echo MINGW64 >msystem.txt
24 make install _gcc _qt5-base _qt5-tools _curl
25 cd ../minori
26 mkdir build
27 cd build
28 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
29 bash -c 'source ../../quasi-msys2/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make'
30 - get-wine32: |
31 sudo dpkg --add-architecture i386
32 sudo apt-get update
33 sudo apt-get -y install wine32:i386
34 - build: |
35 export WINEARCH=win32
36 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32
37 cd quasi-msys2-win32
38 echo MINGW32 >msystem.txt
39 make install _gcc _qt5-base _qt5-tools _curl
40 cd ../minori
41 mkdir build
42 cd build
43 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
44 bash -c 'source ../../quasi-msys2/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make'
45 triggers:
46 - action: email
47 condition: failure
48 to: Paper <mrpapersonic@gmail.com>