diff .builds/windows.yml @ 237:a7d0d543b334

*: make OS X builds succeed new script: deploy_build.sh, creates the app bundle
author Paper <paper@paper.us.eu.org>
date Fri, 19 Jan 2024 11:14:44 -0500
parents 4d461ef7d424
children cae61340cc86
line wrap: on
line diff
--- a/.builds/windows.yml	Fri Jan 19 00:24:02 2024 -0500
+++ b/.builds/windows.yml	Fri Jan 19 11:14:44 2024 -0500
@@ -8,24 +8,28 @@
   - lld
   - xz-utils
   - wine
-  - cmake
+  - automake
+  - autoconf
+  - libtool
   - ncurses-bin
   - qtbase5-dev
   - qttools5-dev
 sources:
   - https://hg.sr.ht/~mrpapersonic/minori
-environment:
-  BUILD_SUBMITTER: hg.sr.ht
 tasks:
+  - autoreconf: |
+      cd minori
+      autoreconf -i
   - 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 _autotools
-      cd ../minori
+      make install _gcc _qt5-base _qt5-tools _curl
+      mkdir -p ../minori/build64
+      cd ../minori/build64
       sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
-      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'
+      bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make'
   - get-wine32: |
       sudo dpkg --add-architecture i386
       sudo apt-get update
@@ -37,11 +41,10 @@
       cd quasi-msys2-win32
       echo MINGW32 >msystem.txt
       make install _gcc _qt5-base _qt5-tools _curl
-      cd ../minori
-      mkdir build32
-      cd build32
+      mkdir -p ../minori/build32
+      cd ../minori/build32
       sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
-      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'
+      bash -c 'source ../../quasi-msys2-win32/env/all.src && ../configure && make'
 triggers:
   - action: email
     condition: failure