Add win11arm job

This commit is contained in:
David Hrdlička
2025-04-15 11:15:42 +02:00
committed by GitHub
parent 08437a4d33
commit d07038961f

View File

@@ -18,7 +18,6 @@ on:
- cmake/** - cmake/**
- "**/CMakeLists.txt" - "**/CMakeLists.txt"
- "CMakePresets.json" - "CMakePresets.json"
- .github/workflows/**
- .github/workflows/cmake_windows_msys2.yml - .github/workflows/cmake_windows_msys2.yml
- vcpkg.json - vcpkg.json
- "!**/Makefile*" - "!**/Makefile*"
@@ -26,9 +25,9 @@ on:
jobs: jobs:
msys2: msys2:
name: "${{ matrix.ui.name }}, ${{ matrix.build.name }}, ${{ matrix.dynarec.name }}, ${{ matrix.environment.msystem }}" name: "${{ matrix.build.name }}, ${{ matrix.dynarec.name }}, ${{ matrix.environment.msystem }}"
runs-on: windows-2022 runs-on: ${{ matrix.environment.runner }}
env: env:
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
@@ -41,8 +40,6 @@ jobs:
fail-fast: true fail-fast: true
matrix: matrix:
build: build:
# - name: Regular
# preset: regular
- name: Debug - name: Debug
preset: dev_debug preset: dev_debug
slug: -Debug slug: -Debug
@@ -56,26 +53,15 @@ jobs:
- name: NDR - name: NDR
new: on new: on
slug: -NDR slug: -NDR
ui:
- name: Qt GUI
qt: on
static: on
slug: -Qt
packages: >-
qt5-static:p
vulkan-headers:p
environment: environment:
# - msystem: MSYS
# toolchain: ./cmake/flags-gcc-x86_64.cmake
- msystem: MINGW64 - msystem: MINGW64
prefix: mingw-w64-x86_64
toolchain: ./cmake/flags-gcc-x86_64.cmake toolchain: ./cmake/flags-gcc-x86_64.cmake
# - msystem: CLANG64 slug: -x64
# prefix: mingw-w64-clang-x86_64 runner: windows-2022
# toolchain: ./cmake/llvm-win32-x86_64.cmake - msystem: CLANGARM64
# - msystem: UCRT64 toolchain: ./cmake/flags-gcc-aarch64.cmake
# prefix: mingw-w64-ucrt-x86_64 slug: -ARM64
# toolchain: ./cmake/flags-gcc-x86_64.cmake runner: windows-11-arm
steps: steps:
- name: Prepare MSYS2 environment - name: Prepare MSYS2 environment
@@ -98,7 +84,8 @@ jobs:
libslirp:p libslirp:p
fluidsynth:p fluidsynth:p
libserialport:p libserialport:p
${{ matrix.ui.packages }} qt5-static:p
vulkan-headers:p
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -114,8 +101,6 @@ jobs:
--toolchain ${{ matrix.environment.toolchain }} --toolchain ${{ matrix.environment.toolchain }}
-D NEW_DYNAREC=${{ matrix.dynarec.new }} -D NEW_DYNAREC=${{ matrix.dynarec.new }}
-D CMAKE_INSTALL_PREFIX=./build/artifacts -D CMAKE_INSTALL_PREFIX=./build/artifacts
-D QT=${{ matrix.ui.qt }}
-D STATIC_BUILD=${{ matrix.ui.static }}
- name: Build - name: Build
run: | run: |