view .builds/win32.yml @ 101:c537996cf67b

*: multitude of config changes 1. theme is now configurable from the settings menu (but you have to restart for it to apply) 2. config is now stored in an INI file, with no method of conversion from json (this repo is private-ish anyway)
author Paper <mrpapersonic@gmail.com>
date Fri, 03 Nov 2023 14:06:02 -0400
parents 329b7921a6be
children fcae8bece0ec
line wrap: on
line source

image: alpine/edge
packages:
  - wget
  - tar
  - zstd
  - gpg
  - clang
  - lld
  - xz
  - wine
  - cmake
  - ncurses
  - qt5-qtbase-dev
sources:
  - https://hg.sr.ht/~mrpapersonic/minori
  - https://github.com/holyblackcat/quasi-msys2
environment:
  BUILD_SUBMITTER: hg.sr.ht
tasks:
  - build: |
      cd quasi-msys2
      echo MINGW32 >msystem.txt
      make install _gcc _qt5-base _curl
      cd ../minori
      mkdir build
      cd build
      sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
      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'
triggers:
  - action: email
    condition: failure
    to: Paper <mrpapersonic@gmail.com>