Mercurial > minori
annotate .builds/windows.yml @ 327:b5d6c27c308f
anime: refactor Anime::SeriesSeason to Season class
ToLocalString has also been altered to take in both season
and year because lots of locales actually treat formatting
seasons differently! most notably is Russian which adds a
suffix at the end to notate seasons(??)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 13 Jun 2024 01:49:18 -0400 |
parents | 8eb0cfe59992 |
children | 3c755136f074 |
rev | line source |
---|---|
300
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
1 image: debian/bookworm |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
2 packages: |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
3 - autoconf |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
4 - automake |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
5 - libtool |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
6 - autotools-dev |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
7 - pkg-config |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
8 - libcurl4-openssl-dev |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
9 - wget |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
10 - tar |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
11 - zstd |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
12 - gpg |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
13 - clang |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
14 - lld |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
15 - xz-utils |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
16 - wine |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
17 - ncurses-bin |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
18 - qtbase5-dev |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
19 - qttools5-dev |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
20 - python3-pip |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
21 - zip |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
22 sources: |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
23 - hg+https://hg.sr.ht/~mrpapersonic/minori |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
24 environment: |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
25 BUILD_SUBMITTER: hg.sr.ht |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
26 tasks: |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
27 - build-win64: | |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
28 export WINEARCH=win64 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
29 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
30 cd quasi-msys2-win64 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
31 echo MINGW64 >msystem.txt |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
32 make install _gcc _qt5-base _qt5-tools _curl |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
33 cd ../minori |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
34 autoreconf -i |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
35 mkdir build64 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
36 cd build64 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
37 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
38 python3 -m pip install --user --break-system-packages mingw-ldd |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
39 bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make && env DIR=minori64 LDD="$HOME/.local/bin/mingw-ldd" sh ../scripts/win32/deploy_build.sh' |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
40 - get-wine32: | |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
41 sudo dpkg --add-architecture i386 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
42 sudo apt-get update |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
43 sudo apt-get -y install wine32:i386 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
44 - build-win32: | |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
45 export WINEARCH=win32 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
46 export WINEPREFIX="$HOME/.wine32" |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
47 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
48 cd quasi-msys2-win32 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
49 echo MINGW32 >msystem.txt |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
50 make install _gcc _qt5-base _qt5-tools _curl |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
51 cd ../minori |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
52 mkdir build32 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
53 cd build32 |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
54 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
55 bash -c 'source ../../quasi-msys2-win32/env/all.src && ../configure && make && env DIR=minori32 LDD="$HOME/.local/bin/mingw-ldd" sh ../scripts/win32/deploy_build.sh' |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
56 artifacts: |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
57 - minori/build64/minori64.zip |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
58 - minori/build32/minori32.zip |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
59 triggers: |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
60 - action: email |
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
61 condition: failure |
297
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
62 to: Paper <mrpapersonic@gmail.com> |