annotate .builds/win32.yml @ 31:a04abc0a35ca

ci: add win64 build
author Paper <mrpapersonic@gmail.com>
date Wed, 20 Sep 2023 01:02:30 -0400
parents 4dc59e1a81a3
children 329b7921a6be
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22
33961277a40f ci: switch image from arch to alpine
Paper <mrpapersonic@gmail.com>
parents: 21
diff changeset
1 image: alpine/edge
21
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2 packages:
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
3 - wget
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
4 - tar
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
5 - zstd
22
33961277a40f ci: switch image from arch to alpine
Paper <mrpapersonic@gmail.com>
parents: 21
diff changeset
6 - gpg
21
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
7 - clang
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
8 - lld
24
b949a56b51dd ci/win32: install xz
Paper <mrpapersonic@gmail.com>
parents: 22
diff changeset
9 - xz
21
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10 - wine
27
c1d2e4f4ee98 ci/win32: install native cmake
Paper <mrpapersonic@gmail.com>
parents: 26
diff changeset
11 - cmake
28
58d53f014612 ci/win32: create binfmt_misc status file
Paper <mrpapersonic@gmail.com>
parents: 27
diff changeset
12 - ncurses
58d53f014612 ci/win32: create binfmt_misc status file
Paper <mrpapersonic@gmail.com>
parents: 27
diff changeset
13 - qt5-qtbase-dev
21
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
14 sources:
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
15 - https://hg.sr.ht/~mrpapersonic/minori
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
16 - https://github.com/holyblackcat/quasi-msys2
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
17 environment:
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
18 BUILD_SUBMITTER: hg.sr.ht
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
19 tasks:
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
20 - build: |
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
21 cd quasi-msys2
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
22 echo MINGW32 >msystem.txt
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
23 make install _gcc _qt5-base _curl
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
24 cd ../minori
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
25 mkdir build
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
26 cd build
28
58d53f014612 ci/win32: create binfmt_misc status file
Paper <mrpapersonic@gmail.com>
parents: 27
diff changeset
27 sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
30
4dc59e1a81a3 ci/win32: fix echo-ing to binfmt
Paper <mrpapersonic@gmail.com>
parents: 29
diff changeset
28 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
28
58d53f014612 ci/win32: create binfmt_misc status file
Paper <mrpapersonic@gmail.com>
parents: 27
diff changeset
29 bash -c 'source ../../quasi-msys2/env/all.src && export AUTOMOC_EXECUTABLE="$(which moc)" && export AUTORCC_EXECUTABLE="$(which rcc)" && cmake .. -G "Unix Makefiles" && make'
21
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
30 triggers:
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
31 - action: email
c61ce6155e92 ci: add win32 build file
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
32 condition: failure
22
33961277a40f ci: switch image from arch to alpine
Paper <mrpapersonic@gmail.com>
parents: 21
diff changeset
33 to: Paper <mrpapersonic@gmail.com>