changeset 28:58d53f014612

ci/win32: create binfmt_misc status file
author Paper <mrpapersonic@gmail.com>
date Wed, 20 Sep 2023 00:36:04 -0400
parents c1d2e4f4ee98
children 42145ef90a48
files .builds/win32.yml
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.builds/win32.yml	Wed Sep 20 00:11:31 2023 -0400
+++ b/.builds/win32.yml	Wed Sep 20 00:36:04 2023 -0400
@@ -9,6 +9,8 @@
   - xz
   - wine
   - cmake
+  - ncurses
+  - qt5-qtbase-dev
 sources:
   - https://hg.sr.ht/~mrpapersonic/minori
   - https://github.com/holyblackcat/quasi-msys2
@@ -22,7 +24,9 @@
       cd ../minori
       mkdir build
       cd build
-      bash -c 'source ../../quasi-msys2/env/all.src && cmake .. -G "Unix Makefiles" && make'
+      sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
+      sudo echo 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'
 triggers:
   - action: email
     condition: failure