diff .builds/win32.yml @ 133:4c5d11d294dd

builds: fix win32 build
author Paper <mrpapersonic@gmail.com>
date Thu, 09 Nov 2023 11:45:38 -0500
parents 5c48adf4ca1f
children
line wrap: on
line diff
--- a/.builds/win32.yml	Thu Nov 09 02:47:03 2023 -0500
+++ b/.builds/win32.yml	Thu Nov 09 11:45:38 2023 -0500
@@ -21,8 +21,9 @@
   - get-wine32: |
       sudo dpkg --add-architecture i386
       sudo apt-get update
-      sudo apt-get install wine32:i386
+      sudo apt-get -y install wine32:i386
   - build: |
+      export WINEARCH=win32
       cd quasi-msys2
       echo MINGW32 >msystem.txt
       make install _gcc _qt5-base _qt5-tools _curl
@@ -30,7 +31,7 @@
       mkdir build
       cd build
       sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
-      bash -c 'source ../../quasi-msys2/env/all.src && export AUTOMOC_EXECUTABLE="$(which moc)" && export AUTORCC_EXECUTABLE="$(which rcc)" && cmake .. -G "Unix Makefiles" && make'
+      bash -c 'source ../../quasi-msys2/env/all.src && cmake .. -G "Unix Makefiles" -DCMAKE_AUTOMOC_EXECUTABLE="$(which moc)" -DCMAKE_AUTORCC_EXECUTABLE="$(which rcc)" && make'
 triggers:
   - action: email
     condition: failure