comparison .builds/windows.yml @ 236:4d461ef7d424

HUGE UPDATE: convert build system to autotools why? because cmake sucks :)
author Paper <mrpapersonic@gmail.com>
date Fri, 19 Jan 2024 00:24:02 -0500
parents 9d9e6242dd1a
children a7d0d543b334
comparison
equal deleted inserted replaced
235:593108b3d555 236:4d461ef7d424
20 - build-win64: | 20 - build-win64: |
21 export WINEARCH=win64 21 export WINEARCH=win64
22 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64 22 git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win64
23 cd quasi-msys2-win64 23 cd quasi-msys2-win64
24 echo MINGW64 >msystem.txt 24 echo MINGW64 >msystem.txt
25 make install _gcc _qt5-base _qt5-tools _curl 25 make install _gcc _qt5-base _qt5-tools _curl _autotools
26 cd ../minori 26 cd ../minori
27 mkdir build64
28 cd build64
29 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' 27 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
30 bash -c 'source ../../quasi-msys2-win64/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make' 28 bash -c 'source ../../quasi-msys2-win64/env/all.src && autoreconf -i && cd dep/animia && autoreconf -i && cd ../anitomy && autoreconf -i && cd ../pugixml && autoreconf -i && ../.. && mkdir build64 && cd build64 && ../configure && make'
31 - get-wine32: | 29 - get-wine32: |
32 sudo dpkg --add-architecture i386 30 sudo dpkg --add-architecture i386
33 sudo apt-get update 31 sudo apt-get update
34 sudo apt-get -y install wine32:i386 32 sudo apt-get -y install wine32:i386
35 - build-win32: | 33 - build-win32: |
41 make install _gcc _qt5-base _qt5-tools _curl 39 make install _gcc _qt5-base _qt5-tools _curl
42 cd ../minori 40 cd ../minori
43 mkdir build32 41 mkdir build32
44 cd build32 42 cd build32
45 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' 43 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
46 bash -c 'source ../../quasi-msys2-win32/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make' 44 bash -c 'source ../../quasi-msys2-win32/env/all.src && autoreconf -i && cd dep/animia && autoreconf -i && cd ../anitomy && autoreconf -i && cd ../pugixml && autoreconf -i && ../.. && mkdir build32 && cd build32 && ../configure && make'
47 triggers: 45 triggers:
48 - action: email 46 - action: email
49 condition: failure 47 condition: failure
50 to: Paper <mrpapersonic@gmail.com> 48 to: Paper <mrpapersonic@gmail.com>