Mercurial > minori
changeset 297:1d59a3f72c52
CI: new and improved windows build
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 13 May 2024 03:00:10 -0400 |
parents | b2a4358da16c |
children | dec4d3c9a909 |
files | .builds/windows.yml |
diffstat | 1 files changed, 60 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.builds/windows.yml Mon May 13 03:00:10 2024 -0400 @@ -0,0 +1,60 @@ +image: debian/bookworm +packages: + - autoconf + - automake + - libtool + - autotools-dev + - pkg-config + - libcurl4-openssl-dev + - wget + - tar + - zstd + - gpg + - clang + - lld + - xz-utils + - wine + - ncurses-bin + - qtbase5-dev + - qttools5-dev + - zip +sources: + - hg+https://hg.sr.ht/~mrpapersonic/minori +environment: + BUILD_SUBMITTER: hg.sr.ht +tasks: + - build-win64: | + export WINEARCH=win64 + git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 + cd quasi-msys2-win64 + echo MINGW64 >msystem.txt + make install _gcc _qt5-base _qt5-tools _curl + cd ../minori + autoreconf -i + mkdir build64 + cd build64 + sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' + bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make && env DIR=minori64 bash ../scripts/win32/deploy_build.sh' + - get-wine32: | + sudo dpkg --add-architecture i386 + sudo apt-get update + sudo apt-get -y install wine32:i386 + - build-win32: | + export WINEARCH=win32 + export WINEPREFIX="$HOME/.wine32" + git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32 + cd quasi-msys2-win32 + echo MINGW32 >msystem.txt + make install _gcc _qt5-base _qt5-tools _curl + cd ../minori + mkdir build32 + cd build32 + sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' + bash -c 'source ../../quasi-msys2-win32/env/all.src && ../configure && make && env DIR=minori32 bash ../scripts/win32/deploy_build.sh' +artifacts: + - minori/build64/minori64.zip + - minori/build32/minori32.zip +triggers: + - action: email + condition: failure + to: Paper <mrpapersonic@gmail.com> \ No newline at end of file