Added Windows 64-bit ARM build to GitHub Actions CI matrix.

This commit is contained in:
Vas Crabb 2025-04-18 14:26:44 +10:00
parent 728014a2b1
commit aa3dc30a18
2 changed files with 29 additions and 10 deletions

View File

@ -25,7 +25,6 @@ permissions:
jobs: jobs:
build-linux: build-linux:
runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
compiler: [gcc, clang] compiler: [gcc, clang]
@ -41,6 +40,7 @@ jobs:
cxx: clang++ cxx: clang++
subtarget: mame subtarget: mame
executable: mame executable: mame
runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@main - uses: actions/checkout@main
with: with:

View File

@ -23,34 +23,53 @@ permissions:
jobs: jobs:
build-windows: build-windows:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
strategy: strategy:
matrix: matrix:
compiler: [gcc, clang] compiler: [gcc-x64, clang-x64, clang-arm64]
include: include:
- compiler: gcc - compiler: gcc-x64
os: windows-latest
msys: MINGW64
slug: mingw-w64-x86_64
root: "/mingw64"
cc: gcc cc: gcc
cxx: g++ cxx: g++
subtarget: mame subtarget: mame
executable: mame executable: mame
- compiler: clang - compiler: clang-x64
os: windows-latest
msys: MINGW64
slug: mingw-w64-x86_64
root: "/mingw64"
cc: clang cc: clang
cxx: clang++ cxx: clang++
subtarget: tiny subtarget: tiny
executable: mametiny executable: mametiny
- compiler: clang-arm64
os: windows-11-arm
msys: CLANGARM64
slug: mingw-w64-clang-aarch64
extrapkg: mingw-w64-clang-aarch64-gcc-compat
root: "/clangarm64"
cc: clang
cxx: clang++
subtarget: mame
executable: mame
runs-on: ${{ matrix.os }}
defaults:
run:
shell: msys2 {0}
steps: steps:
- uses: msys2/setup-msys2@v2 - uses: msys2/setup-msys2@v2
with: with:
install: git make mingw-w64-x86_64-${{ matrix.compiler }} mingw-w64-x86_64-python mingw-w64-x86_64-lld mingw-w64-x86_64-llvm mingw-w64-x86_64-libc++ msystem: ${{ matrix.msys }}
install: git make ${{ matrix.slug }}-${{ matrix.cc }} ${{ matrix.slug }}-python ${{ matrix.slug }}-lld ${{ matrix.slug }}-llvm ${{ matrix.slug }}-libc++ ${{ matrix.extrapkg }}
- uses: actions/checkout@main - uses: actions/checkout@main
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Build - name: Build
env: env:
MINGW64: "/mingw64" MINGW64: ${{ matrix.root }}
OVERRIDE_AR: "llvm-ar" OVERRIDE_AR: "llvm-ar"
OVERRIDE_CC: ${{ matrix.cc }} OVERRIDE_CC: ${{ matrix.cc }}
OVERRIDE_CXX: ${{ matrix.cxx }} OVERRIDE_CXX: ${{ matrix.cxx }}