Mercurial > minori
annotate .builds/windows.yml @ 380:861368fd42ff
about: update email address
| author | Paper <paper@tflc.us> |
|---|---|
| date | Thu, 06 Nov 2025 01:12:39 -0500 |
| parents | 1b0b8e746d83 |
| children |
| 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: |
| 344 | 3 - cmake |
|
300
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
4 - pkg-config |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
5 - libcurl4-openssl-dev |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
6 - wget |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
7 - tar |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
8 - zstd |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
9 - gpg |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
10 - clang |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
11 - lld |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
12 - xz-utils |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
13 - wine |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
14 - ncurses-bin |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
15 - qtbase5-dev |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
16 - qttools5-dev |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
17 - python3-pip |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
18 - zip |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
19 tasks: |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
20 - build-win64: | |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
21 export WINEARCH=win64 |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
22 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
|
23 cd quasi-msys2-win64 |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
24 echo MINGW64 >msystem.txt |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
25 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
|
26 cd ../minori |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
27 mkdir build64 |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
28 cd build64 |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
29 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
|
30 python3 -m pip install --user --break-system-packages mingw-ldd |
| 345 | 31 sudo ln -nfs "$HOME/quasi-msys2-win64/root/mingw64" /mingw64 |
|
343
1faa72660932
*: transfer back to cmake from autotools
Paper <paper@paper.us.eu.org>
parents:
331
diff
changeset
|
32 bash -c 'export MSYSTEM=mingw64 && source ../../quasi-msys2-win64/env/all.src && cmake .. -G "Unix Makefiles" && make && env DIR=minori64 LDD="$HOME/.local/bin/mingw-ldd" sh ../scripts/win32/deploy_build.sh' |
| 377 | 33 # WHOOPS! MSYS2 doesn't provide 32-bit packages anymore. |
| 34 # - get-wine32: | | |
| 35 # sudo dpkg --add-architecture i386 | |
| 36 # sudo apt-get update | |
| 37 # sudo apt-get -y install wine32:i386 | |
| 38 # - build-win32: | | |
| 39 # export WINEARCH=win32 | |
| 40 # export WINEPREFIX="$HOME/.wine32" | |
| 41 # git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 | |
| 42 # cd quasi-msys2-win32 | |
| 43 # echo MINGW32 >msystem.txt | |
| 44 # make install _gcc _qt5-base _qt5-tools _curl | |
| 45 # cd ../minori | |
| 46 # mkdir build32 | |
| 47 # cd build32 | |
| 48 # sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' | |
| 49 # sudo ln -nfs "$HOME/quasi-msys2-win64/root/mingw32" /mingw32 | |
| 50 # bash -c 'export MSYSTEM=mingw32 && source ../../quasi-msys2-win32/env/all.src && cmake .. -G "Unix Makefiles" && make && env DIR=minori32 LDD="$HOME/.local/bin/mingw-ldd" sh ../scripts/win32/deploy_build.sh' | |
|
300
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
51 artifacts: |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
52 - minori/build64/minori64.zip |
| 377 | 53 # - minori/build32/minori32.zip |
|
300
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
54 triggers: |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
55 - action: email |
|
8eb0cfe59992
CI/windows: attempt to fix the build
Paper <paper@paper.us.eu.org>
parents:
297
diff
changeset
|
56 condition: failure |
|
297
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
57 to: Paper <mrpapersonic@gmail.com> |
