ci: Add Windows Arm builds

This commit is contained in:
sithlord48
2025-04-20 12:23:47 -04:00
committed by Chris Rizzitello
parent 1479a50af5
commit 2b38fe6f91
3 changed files with 21 additions and 3 deletions

View File

@ -13,6 +13,10 @@ inputs:
description: "The version of Qt to install (Windows & macOS)"
required: false
vcpkg-triplet:
description: "vcpkg triplet to use (Windows)"
required: false
outputs:
vcpkg-cmake-config:
description: "windows vcpkg output for cmaket"
@ -78,8 +82,8 @@ runs:
uses: johnwason/vcpkg-action@v7
with:
pkgs: gtest openssl
extra-args: --classic
triplet: x64-windows-release
extra-args: --classic --host-triplet=${{inputs.vcpkg-triplet}}
triplet: ${{inputs.vcpkg-triplet}}
token: ${{ github.token }}
- name: Install Wix

View File

@ -134,6 +134,16 @@ jobs:
timeout: 30
config-args: "-G Ninja"
qt-version: 6.8.3
vcpkg-triplet: x64-windows-release
arch: "amd64"
- name: "windows-2022-arm64"
runs-on: "windows-11-arm"
timeout: 30
config-args: "-G Ninja"
qt-version: 6.8.3
vcpkg-triplet: arm64-windows
arch: "arm64"
- name: "macos-14-arm64"
runs-on: "macos-14"
@ -266,12 +276,16 @@ jobs:
- name: Setup VC++ environment
if: ${{ runner.os == 'Windows' }}
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{matrix.target.arch}}
- name: Install dependencies
id: get-deps
uses: ./.github/actions/install-dependencies
with:
qt-version: ${{ matrix.target.qt-version }}
vcpkg-triplet: ${{matrix.target.vcpkg-triplet}}
like: ${{ matrix.target.like }}
- name: Get version

View File

@ -62,7 +62,7 @@ We support all major operating systems, including Windows, macOS, Linux, and Uni
> [!NOTE]
> On Windows, you will need to install the
> [Microsoft Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version).
> Download latest: [`vc_redist.x64.exe`](https://aka.ms/vs/17/release/vc_redist.x64.exe)
> Download latest: [`vc_redist.x64.exe`](https://aka.ms/vs/17/release/vc_redist.x64.exe) [`vc_redist.arm64.exe`](https://aka.ms/vs/17/release/vc_redist.arm64.exe)
Windows 10 or higher is required.