add windows arm build

This commit is contained in:
FTCHD
2025-01-31 17:11:06 +02:00
committed by GitHub
parent 4778155c54
commit bf6b3d41d7
+4 -2
View File
@@ -19,6 +19,8 @@ jobs:
# args: ''
- platform: 'windows-latest'
args: ''
- platform: "windows-latest"
args: "--target aarch64-pc-windows-msvc"
runs-on: ${{ matrix.platform }}
env:
@@ -36,8 +38,8 @@ jobs:
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
# used on macos and windows arm
targets: ${{ matrix.platform != 'ubuntu-22.04' && 'aarch64-apple-darwin,x86_64-apple-darwin,aarch64-pc-windows-msvc' || '' }}
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.