comparison .builds/win64.yml @ 31:a04abc0a35ca

ci: add win64 build
author Paper <mrpapersonic@gmail.com>
date Wed, 20 Sep 2023 01:02:30 -0400
parents
children 329b7921a6be
comparison
equal deleted inserted replaced
30:4dc59e1a81a3 31:a04abc0a35ca
1 image: alpine/edge
2 packages:
3 - wget
4 - tar
5 - zstd
6 - gpg
7 - clang
8 - lld
9 - xz
10 - wine
11 - cmake
12 - ncurses
13 - qt5-qtbase-dev
14 sources:
15 - https://hg.sr.ht/~mrpapersonic/minori
16 - https://github.com/holyblackcat/quasi-msys2
17 environment:
18 BUILD_SUBMITTER: hg.sr.ht
19 tasks:
20 - build: |
21 cd quasi-msys2
22 echo MINGW64 >msystem.txt
23 make install _gcc _qt5-base _curl
24 cd ../minori
25 mkdir build
26 cd build
27 sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
28 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
29 bash -c 'source ../../quasi-msys2/env/all.src && export AUTOMOC_EXECUTABLE="$(which moc)" && export AUTORCC_EXECUTABLE="$(which rcc)" && cmake .. -G "Unix Makefiles" && make'
30 triggers:
31 - action: email
32 condition: failure
33 to: Paper <mrpapersonic@gmail.com>