Mercurial > minori
annotate .builds/windows.yml @ 299:246017a7907a
dep/animone: clean up OS X code
GetProcessName() really belongs in fd.cc after removing the
stupid unnecessary LaunchServices code that was stolen from...
some library :)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 13 May 2024 14:15:47 -0400 |
parents | 1d59a3f72c52 |
children | 8eb0cfe59992 |
rev | line source |
---|---|
297
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
1 image: debian/bookworm |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
2 packages: |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
3 - autoconf |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
4 - automake |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
5 - libtool |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
6 - autotools-dev |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
7 - pkg-config |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
8 - libcurl4-openssl-dev |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
9 - wget |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
10 - tar |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
11 - zstd |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
12 - gpg |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
13 - clang |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
14 - lld |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
15 - xz-utils |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
16 - wine |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
17 - ncurses-bin |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
18 - qtbase5-dev |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
19 - qttools5-dev |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
20 - zip |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
21 sources: |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
22 - hg+https://hg.sr.ht/~mrpapersonic/minori |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
23 environment: |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
24 BUILD_SUBMITTER: hg.sr.ht |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
25 tasks: |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
26 - build-win64: | |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
27 export WINEARCH=win64 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
28 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
29 cd quasi-msys2-win64 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
30 echo MINGW64 >msystem.txt |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
31 make install _gcc _qt5-base _qt5-tools _curl |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
32 cd ../minori |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
33 autoreconf -i |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
34 mkdir build64 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
35 cd build64 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
36 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
37 bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make && env DIR=minori64 bash ../scripts/win32/deploy_build.sh' |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
38 - get-wine32: | |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
39 sudo dpkg --add-architecture i386 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
40 sudo apt-get update |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
41 sudo apt-get -y install wine32:i386 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
42 - build-win32: | |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
43 export WINEARCH=win32 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
44 export WINEPREFIX="$HOME/.wine32" |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
45 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
46 cd quasi-msys2-win32 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
47 echo MINGW32 >msystem.txt |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
48 make install _gcc _qt5-base _qt5-tools _curl |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
49 cd ../minori |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
50 mkdir build32 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
51 cd build32 |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
52 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
53 bash -c 'source ../../quasi-msys2-win32/env/all.src && ../configure && make && env DIR=minori32 bash ../scripts/win32/deploy_build.sh' |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
54 artifacts: |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
55 - minori/build64/minori64.zip |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
56 - minori/build32/minori32.zip |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
57 triggers: |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
58 - action: email |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
59 condition: failure |
1d59a3f72c52
CI: new and improved windows build
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
60 to: Paper <mrpapersonic@gmail.com> |