comparison .builds/windows.yml @ 343:1faa72660932

*: transfer back to cmake from autotools autotools just made lots of things more complicated than they should have and many things broke (i.e. translations)
author Paper <paper@paper.us.eu.org>
date Thu, 20 Jun 2024 05:56:06 -0400
parents 3c755136f074
children 676b9967d8c6
comparison
equal deleted inserted replaced
342:adb79bdde329 343:1faa72660932
27 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 27 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64
28 cd quasi-msys2-win64 28 cd quasi-msys2-win64
29 echo MINGW64 >msystem.txt 29 echo MINGW64 >msystem.txt
30 make install _gcc _qt5-base _qt5-tools _curl 30 make install _gcc _qt5-base _qt5-tools _curl
31 cd ../minori 31 cd ../minori
32 autoreconf -i
33 mkdir build64 32 mkdir build64
34 cd build64 33 cd build64
35 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' 34 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
36 python3 -m pip install --user --break-system-packages mingw-ldd 35 python3 -m pip install --user --break-system-packages mingw-ldd
37 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' 36 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'
38 - get-wine32: | 37 - get-wine32: |
39 sudo dpkg --add-architecture i386 38 sudo dpkg --add-architecture i386
40 sudo apt-get update 39 sudo apt-get update
41 sudo apt-get -y install wine32:i386 40 sudo apt-get -y install wine32:i386
42 - build-win32: | 41 - build-win32: |
48 make install _gcc _qt5-base _qt5-tools _curl 47 make install _gcc _qt5-base _qt5-tools _curl
49 cd ../minori 48 cd ../minori
50 mkdir build32 49 mkdir build32
51 cd build32 50 cd build32
52 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' 51 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
53 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' 52 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'
54 artifacts: 53 artifacts:
55 - minori/build64/minori64.zip 54 - minori/build64/minori64.zip
56 - minori/build32/minori32.zip 55 - minori/build32/minori32.zip
57 triggers: 56 triggers:
58 - action: email 57 - action: email