Enables support Wine with MSYS2 and arm64ex at our linux-aarch64 runners.
Core motivation lies here:
Uses the following components:
Wine-10.4
version, it required rebasing).As well it installs additional packages into MSYS2 environment:
"base-devel"
"mingw-w64-clang-aarch64-python"
"mingw-w64-clang-aarch64-python-pip"
"mingw-w64-clang-aarch64-pkgconf"
"mingw-w64-clang-aarch64-git"
"mingw-w64-clang-aarch64-git-lfs"
"mingw-w64-clang-aarch64-git-credential-manager"
"automake-wrapper"
"autoconf-wrapper"
"gmp"
"gmp-devel"
"unzip"
They are required to install GHC x86-64 Windows bindist with cabal x86-64.
This image is useful at following scenarios:
Further steps could be but not limited at:
It takes ~1h to build the image but most time spent on signature verifications (~50%). It is enabled for now, but can be disabled to speed up the process. I've applied a decision to leave these checks ON just to make sure that we have installed actually what requested.
To run MSYS2 environment do the following:
/opt/wine-arm64ec-msys2-deb12/bin/wine c:/msys64/usr/bin/env.exe -i HOME="$HOME" c:/msys64/usr/bin/bash.exe -l