From 4dbe90c02fda82b914d9efd870994d3b0843a905 Mon Sep 17 00:00:00 2001 From: Philipp Spiess Date: Wed, 27 Nov 2024 17:50:34 +0100 Subject: [PATCH] Add Windows ARM build in CI (#15171) Closes #15131 This PR adds a CI step to build the Windows ARM artifacts on the Windows x64 CI runners after some trial and error with the custom Windows ARM runners which turned out to not be necessary. ## Test Plan I changed the workflow so that it uploads the tarballs to the build artifact and runs on the PR. Then, I downloaded the artifacts and installed them in a npm project on Windows with ARM: Screenshot 2024-11-27 at 11 35 15 Co-authored-by: Adam Wathan --- .github/workflows/release.yml | 3 +++ CHANGELOG.md | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2fc468f675d6..f58660ae16bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,8 @@ jobs: # Windows - os: windows-latest target: x86_64-pc-windows-msvc + - os: windows-latest + target: aarch64-pc-windows-msvc # macOS - os: macos-latest target: x86_64-apple-darwin @@ -208,6 +210,7 @@ jobs: run: | cd ${{ env.OXIDE_LOCATION }} cp bindings-x86_64-pc-windows-msvc/* ./npm/win32-x64-msvc/ + cp bindings-aarch64-pc-windows-msvc/* ./npm/win32-arm64-msvc/ cp bindings-x86_64-apple-darwin/* ./npm/darwin-x64/ cp bindings-aarch64-apple-darwin/* ./npm/darwin-arm64/ cp bindings-aarch64-linux-android/* ./npm/android-arm64/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 164d01e06b6e..e7ec5160a978 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Include a Windows ARM build for all npm packages ([#15171](https://github.com/tailwindlabs/tailwindcss/pull/15171)) - Ensure the Vite plugin resolves CSS and JS files according to the configured resolver conditions ([#15173])(https://github.com/tailwindlabs/tailwindcss/pull/15173) - _Upgrade (experimental)_: Migrate prefixes for `.group` and `.peer` classes ([#15208](https://github.com/tailwindlabs/tailwindcss/pull/15208))