comparison .builds/windows.yml @ 300:8eb0cfe59992

CI/windows: attempt to fix the build
author Paper <paper@paper.us.eu.org>
date Mon, 13 May 2024 14:56:37 -0400
parents 1d59a3f72c52
children 3c755136f074
comparison
equal deleted inserted replaced
299:246017a7907a 300:8eb0cfe59992
15 - xz-utils 15 - xz-utils
16 - wine 16 - wine
17 - ncurses-bin 17 - ncurses-bin
18 - qtbase5-dev 18 - qtbase5-dev
19 - qttools5-dev 19 - qttools5-dev
20 - python3-pip
20 - zip 21 - zip
21 sources: 22 sources:
22 - hg+https://hg.sr.ht/~mrpapersonic/minori 23 - hg+https://hg.sr.ht/~mrpapersonic/minori
23 environment: 24 environment:
24 BUILD_SUBMITTER: hg.sr.ht 25 BUILD_SUBMITTER: hg.sr.ht
32 cd ../minori 33 cd ../minori
33 autoreconf -i 34 autoreconf -i
34 mkdir build64 35 mkdir build64
35 cd build64 36 cd build64
36 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' 37 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
37 bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make && env DIR=minori64 bash ../scripts/win32/deploy_build.sh' 38 python3 -m pip install --user --break-system-packages mingw-ldd
39 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'
38 - get-wine32: | 40 - get-wine32: |
39 sudo dpkg --add-architecture i386 41 sudo dpkg --add-architecture i386
40 sudo apt-get update 42 sudo apt-get update
41 sudo apt-get -y install wine32:i386 43 sudo apt-get -y install wine32:i386
42 - build-win32: | 44 - build-win32: |
48 make install _gcc _qt5-base _qt5-tools _curl 50 make install _gcc _qt5-base _qt5-tools _curl
49 cd ../minori 51 cd ../minori
50 mkdir build32 52 mkdir build32
51 cd build32 53 cd build32
52 sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status' 54 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 bash ../scripts/win32/deploy_build.sh' 55 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'
54 artifacts: 56 artifacts:
55 - minori/build64/minori64.zip 57 - minori/build64/minori64.zip
56 - minori/build32/minori32.zip 58 - minori/build32/minori32.zip
57 triggers: 59 triggers:
58 - action: email 60 - action: email