view .builds/win32.yml @ 198:bc1ae1810855

dep/animia: switch from using classes to global functions the old idea was ok, but sort of hackish; this method doesn't use classes at all, and this way (especially important!) we can do wayland stuff AND x11 at the same time, which wasn't really possible without stupid workarounds in the other method
author Paper <mrpapersonic@gmail.com>
date Sun, 24 Dec 2023 02:59:42 -0500
parents 4c5d11d294dd
children
line wrap: on
line source

image: debian/bookworm
packages:
  - wget
  - tar
  - zstd
  - gpg
  - clang
  - lld
  - xz-utils
  - wine
  - cmake
  - ncurses-bin
  - qtbase5-dev
  - qttools5-dev
sources:
  - https://hg.sr.ht/~mrpapersonic/minori
  - https://github.com/holyblackcat/quasi-msys2
environment:
  BUILD_SUBMITTER: hg.sr.ht
tasks:
  - get-wine32: |
      sudo dpkg --add-architecture i386
      sudo apt-get update
      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
      cd ../minori
      mkdir build
      cd build
      sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
      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
    to: Paper <mrpapersonic@gmail.com>