Skip to content

Commit 833c515

Browse files
authored
ci: add x86 macOS release (#517)
<!-- CURSOR_SUMMARY --> > [!NOTE] > **Medium Risk** > Updates the release build matrix and published native targets, which can affect release pipeline behavior and artifact completeness for macOS users. > > **Overview** > **Intel macOS release support**: the release workflow now builds Rust/N-API artifacts for `x86_64-apple-darwin` in addition to existing targets. > > Both `packages/cli` and `packages/global` expand their `napi.targets` lists to include `x86_64-apple-darwin`, enabling publishing/installing native binaries for Intel Macs. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit a94751d. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent f10c0a7 commit 833c515

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
settings:
2222
- target: aarch64-apple-darwin
2323
os: namespace-profile-mac-default
24+
- target: x86_64-apple-darwin
25+
os: namespace-profile-mac-default
2426
- target: aarch64-unknown-linux-gnu
2527
os: ubuntu-latest
2628
- target: x86_64-unknown-linux-gnu

packages/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@
313313
"packageName": "@voidzero-dev/vite-plus",
314314
"targets": [
315315
"aarch64-apple-darwin",
316+
"x86_64-apple-darwin",
316317
"aarch64-unknown-linux-gnu",
317318
"x86_64-unknown-linux-gnu",
318319
"x86_64-pc-windows-msvc"

packages/global/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"packageName": "@voidzero-dev/vite-plus-cli",
5353
"targets": [
5454
"aarch64-apple-darwin",
55+
"x86_64-apple-darwin",
5556
"aarch64-unknown-linux-gnu",
5657
"x86_64-unknown-linux-gnu",
5758
"x86_64-pc-windows-msvc"

0 commit comments

Comments
 (0)