Skip to content

Commit 49e1bb0

Browse files
committed
try to fix arm64 github actions build
1 parent cfecd99 commit 49e1bb0

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,18 @@ jobs:
103103
submodules: recursive
104104
fetch-depth: 0
105105

106+
- name: Setup right windows sdk
107+
uses: GuillaumeFalourd/setup-windows10-sdk-action@v2.4
108+
with:
109+
sdk-version: 26100
110+
106111
- name: Set up CMake
107112
uses: lukka/get-cmake@latest
108113
with:
109114
cmakeVersion: '3.22.0'
110115

111116
- name: Configure with CMake for ARM64
112-
run: cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -A ARM64
117+
run: cmake -B build -S . -DCMAKE_SYSTEM_VERSION="10.0.26100.0" -DCMAKE_BUILD_TYPE=Release -A ARM64
113118

114119
- name: Build the project for ARM64
115120
run: cmake --build build --config Release --target PlayerLink
@@ -158,7 +163,7 @@ jobs:
158163

159164
create-release:
160165
if: startsWith(github.ref, 'refs/tags/')
161-
needs: [build-linux, build-windows, build-macos]
166+
needs: [build-linux, build-windows, build-windows-arm64, build-macos]
162167
runs-on: ubuntu-latest
163168
steps:
164169
- name: Download artifacts

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ An example on how to add custom apps to the config can be found [here](./setting
8080
4. Build the project :)
8181
```bash
8282
# for a release build
83-
cmake --build build --config Release
83+
cmake --build build --config Release --target PlayerLink
8484
# for a debug build
85-
cmake --build build
85+
cmake --build build --target PlayerLink
8686
```
8787

8888
## Contributing

0 commit comments

Comments
 (0)