Skip to content

Commit

Permalink
Add windows arm64 build (#398)
Browse files Browse the repository at this point in the history
Co-authored-by: Vivek Roy <[email protected]>
  • Loading branch information
thezealousfool and Vivek Roy authored Jun 28, 2024
1 parent a8fe481 commit a1ede11
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,41 @@ jobs:
path: dist
name: dist

# -----
windows-aarch64:
# Config
name: release - windows-aarch64
runs-on: windows-latest
env:
TARGET: aarch64-pc-windows-msvc
ARCHIVE_NAME: wgpu-windows-aarch64
steps:
# Common part (same for each build)
- uses: actions/checkout@v4
with:
submodules: true
- name: Set WGPU_NATIVE_VERSION
run: echo "WGPU_NATIVE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
shell: bash
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ env.TARGET }}
- name: Setup caching
uses: Swatinem/rust-cache@v2
with:
key: build-${{ env.TARGET }}-${{ env.CACHE_SUFFIX }}
# Build
- name: Build
run: make package
shell: bash
# Upload (same for each build)
- name: Upload
uses: actions/upload-artifact@v3
with:
path: dist
name: dist

# -----
macos-x86_64:
# Config
Expand Down Expand Up @@ -285,6 +320,7 @@ jobs:
- linux-aarch64
- windows-x86_64
- windows-i686
- windows-aarch64
- macos-x86_64
- macos-aarch64
runs-on: ubuntu-latest
Expand Down

0 comments on commit a1ede11

Please sign in to comment.