try to fix arm64 github actions build
This commit is contained in:
parent
cfecd99858
commit
49e1bb0262
|
@ -103,13 +103,18 @@ jobs:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Setup right windows sdk
|
||||||
|
uses: GuillaumeFalourd/setup-windows10-sdk-action@v2.4
|
||||||
|
with:
|
||||||
|
sdk-version: 26100
|
||||||
|
|
||||||
- name: Set up CMake
|
- name: Set up CMake
|
||||||
uses: lukka/get-cmake@latest
|
uses: lukka/get-cmake@latest
|
||||||
with:
|
with:
|
||||||
cmakeVersion: '3.22.0'
|
cmakeVersion: '3.22.0'
|
||||||
|
|
||||||
- name: Configure with CMake for ARM64
|
- 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
|
- name: Build the project for ARM64
|
||||||
run: cmake --build build --config Release --target PlayerLink
|
run: cmake --build build --config Release --target PlayerLink
|
||||||
|
@ -158,7 +163,7 @@ jobs:
|
||||||
|
|
||||||
create-release:
|
create-release:
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
|
|
|
@ -80,9 +80,9 @@ An example on how to add custom apps to the config can be found [here](./setting
|
||||||
4. Build the project :)
|
4. Build the project :)
|
||||||
```bash
|
```bash
|
||||||
# for a release build
|
# for a release build
|
||||||
cmake --build build --config Release
|
cmake --build build --config Release --target PlayerLink
|
||||||
# for a debug build
|
# for a debug build
|
||||||
cmake --build build
|
cmake --build build --target PlayerLink
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
Loading…
Reference in New Issue