view .builds/windows.yml @ 337:a7d4e5107531

dep/animone: REFACTOR ALL THE THINGS 1: animone now has its own syntax divergent from anisthesia, making different platforms actually have their own sections 2: process names in animone are now called `comm' (this will probably break things). this is what its called in bsd/linux so I'm just going to use it everywhere 3: the X11 code now checks for the existence of a UTF-8 window title and passes it if available 4: ANYTHING THATS NOT LINUX IS 100% UNTESTED AND CAN AND WILL BREAK! I still actually need to test the bsd code. to be honest I'm probably going to move all of the bsds into separate files because they're all essentially different operating systems at this point
author Paper <paper@paper.us.eu.org>
date Wed, 19 Jun 2024 12:51:15 -0400
parents 3c755136f074
children 1faa72660932
line wrap: on
line source

image: debian/bookworm
packages:
  - autoconf
  - automake
  - libtool
  - autotools-dev
  - pkg-config
  - libcurl4-openssl-dev
  - wget
  - tar
  - zstd
  - gpg
  - clang
  - lld
  - xz-utils
  - wine
  - ncurses-bin
  - qtbase5-dev
  - qttools5-dev
  - python3-pip
  - zip
sources:
  - hg+https://hg.paper.us.eu.org/minori
tasks:
  - 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
      cd ../minori
      autoreconf -i
      mkdir build64
      cd build64
      sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
      python3 -m pip install --user --break-system-packages mingw-ldd
      bash -c 'source ../../quasi-msys2-win64/env/all.src && ../configure && make && env DIR=minori64 LDD="$HOME/.local/bin/mingw-ldd" sh ../scripts/win32/deploy_build.sh'
  - get-wine32: |
      sudo dpkg --add-architecture i386
      sudo apt-get update
      sudo apt-get -y install wine32:i386
  - build-win32: |
      export WINEARCH=win32
      export WINEPREFIX="$HOME/.wine32"
      git clone https://github.com/holyblackcat/quasi-msys2 quasi-msys2-win32
      cd quasi-msys2-win32
      echo MINGW32 >msystem.txt
      make install _gcc _qt5-base _qt5-tools _curl
      cd ../minori
      mkdir build32
      cd build32
      sudo bash -c 'echo -n 1 >/proc/sys/fs/binfmt_misc/status'
      bash -c 'source ../../quasi-msys2-win32/env/all.src && ../configure && make && env DIR=minori32 LDD="$HOME/.local/bin/mingw-ldd" sh ../scripts/win32/deploy_build.sh'
artifacts:
  - minori/build64/minori64.zip
  - minori/build32/minori32.zip
triggers:
  - action: email
    condition: failure
    to: Paper <mrpapersonic@gmail.com>