comparison .builds/windows.yml @ 345:d085c05247bd

build: fix windows build
author Paper <paper@paper.us.eu.org>
date Thu, 20 Jun 2024 07:39:01 -0400
parents 676b9967d8c6
children 53c92e8968d5
comparison
equal deleted inserted replaced
344:676b9967d8c6 345:d085c05247bd
28 cd ../minori 28 cd ../minori
29 mkdir build64 29 mkdir build64
30 cd build64 30 cd build64
31 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' 31 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
32 python3 -m pip install --user --break-system-packages mingw-ldd 32 python3 -m pip install --user --break-system-packages mingw-ldd
33 sudo ln -nfs "$HOME/quasi-msys2-win64/root/mingw64" /mingw64
33 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' 34 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'
34 - get-wine32: | 35 - get-wine32: |
35 sudo dpkg --add-architecture i386 36 sudo dpkg --add-architecture i386
36 sudo apt-get update 37 sudo apt-get update
37 sudo apt-get -y install wine32:i386 38 sudo apt-get -y install wine32:i386
44 make install _gcc _qt5-base _qt5-tools _curl 45 make install _gcc _qt5-base _qt5-tools _curl
45 cd ../minori 46 cd ../minori
46 mkdir build32 47 mkdir build32
47 cd build32 48 cd build32
48 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' 49 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
50 sudo ln -nfs "$HOME/quasi-msys2-win64/root/mingw32" /mingw32
49 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' 51 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'
50 artifacts: 52 artifacts:
51 - minori/build64/minori64.zip 53 - minori/build64/minori64.zip
52 - minori/build32/minori32.zip 54 - minori/build32/minori32.zip
53 triggers: 55 triggers: