Mercurial > minori
annotate .builds/win32.yml @ 187:9613d72b097e
*: multiple performance improvements
like marking `static const` when it makes sense...
date: change old stupid heap-based method to a structure which should
make copying the thing actually make a copy.
also many performance-based changes, like removing the std::tie
dependency and forward-declaring nlohmann json
*: replace every instance of QString::fromUtf8 to Strings::ToQString.
the main difference is that our function will always convert exactly
what is in the string, while some other times it would only convert
up to the nearest NUL byte
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 06 Dec 2023 13:43:54 -0500 |
parents | 4c5d11d294dd |
children |
rev | line source |
---|---|
125
4067388485c1
builds: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
1 image: debian/bookworm |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
2 packages: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
3 - wget |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
4 - tar |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
5 - zstd |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
6 - gpg |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
7 - clang |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
8 - lld |
126
ee587ec52831
builds: xz -> xz-utils, ncurses -> ncurses-bin
Paper <mrpapersonic@gmail.com>
parents:
125
diff
changeset
|
9 - xz-utils |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
10 - wine |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
11 - cmake |
126
ee587ec52831
builds: xz -> xz-utils, ncurses -> ncurses-bin
Paper <mrpapersonic@gmail.com>
parents:
125
diff
changeset
|
12 - ncurses-bin |
125
4067388485c1
builds: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
111
diff
changeset
|
13 - qtbase5-dev |
127
fb6033e8f872
builds: qttools5-dev-tools -> qttools5-dev
Paper <mrpapersonic@gmail.com>
parents:
126
diff
changeset
|
14 - qttools5-dev |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
15 sources: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
16 - https://hg.sr.ht/~mrpapersonic/minori |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
17 - https://github.com/holyblackcat/quasi-msys2 |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
18 environment: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
19 BUILD_SUBMITTER: hg.sr.ht |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
20 tasks: |
131
5c48adf4ca1f
builds/win32: install wine32
Paper <mrpapersonic@gmail.com>
parents:
128
diff
changeset
|
21 - get-wine32: | |
5c48adf4ca1f
builds/win32: install wine32
Paper <mrpapersonic@gmail.com>
parents:
128
diff
changeset
|
22 sudo dpkg --add-architecture i386 |
5c48adf4ca1f
builds/win32: install wine32
Paper <mrpapersonic@gmail.com>
parents:
128
diff
changeset
|
23 sudo apt-get update |
133 | 24 sudo apt-get -y install wine32:i386 |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
25 - build: | |
133 | 26 export WINEARCH=win32 |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
27 cd quasi-msys2 |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
28 echo MINGW32 >msystem.txt |
111
fcae8bece0ec
builds: add missing qt-tools dependency
Paper <mrpapersonic@gmail.com>
parents:
35
diff
changeset
|
29 make install _gcc _qt5-base _qt5-tools _curl |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
30 cd ../minori |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
31 mkdir build |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
32 cd build |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
33 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' |
133 | 34 bash -c 'source ../../quasi-msys2/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make' |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
35 triggers: |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
36 - action: email |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
37 condition: failure |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
30
diff
changeset
|
38 to: Paper <mrpapersonic@gmail.com> |