From 49e1bb02626b6dff6959ac5e2bd2653f4aa2dba4 Mon Sep 17 00:00:00 2001 From: EinTim23 Date: Mon, 12 May 2025 22:00:48 +0200 Subject: [PATCH] try to fix arm64 github actions build --- .github/workflows/build.yml | 9 +++++++-- README.md | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e15c0b9..928754b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -103,13 +103,18 @@ jobs: submodules: recursive fetch-depth: 0 + - name: Setup right windows sdk + uses: GuillaumeFalourd/setup-windows10-sdk-action@v2.4 + with: + sdk-version: 26100 + - name: Set up CMake uses: lukka/get-cmake@latest with: cmakeVersion: '3.22.0' - name: Configure with CMake for ARM64 - run: cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -A ARM64 + run: cmake -B build -S . -DCMAKE_SYSTEM_VERSION="10.0.26100.0" -DCMAKE_BUILD_TYPE=Release -A ARM64 - name: Build the project for ARM64 run: cmake --build build --config Release --target PlayerLink @@ -158,7 +163,7 @@ jobs: create-release: if: startsWith(github.ref, 'refs/tags/') - needs: [build-linux, build-windows, build-macos] + needs: [build-linux, build-windows, build-windows-arm64, build-macos] runs-on: ubuntu-latest steps: - name: Download artifacts diff --git a/README.md b/README.md index 9eb0e16..f6f9cfe 100644 --- a/README.md +++ b/README.md @@ -80,9 +80,9 @@ An example on how to add custom apps to the config can be found [here](./setting 4. Build the project :) ```bash # for a release build - cmake --build build --config Release + cmake --build build --config Release --target PlayerLink # for a debug build - cmake --build build + cmake --build build --target PlayerLink ``` ## Contributing