Skip to content

ci: fix darwin-x64 + win32-x64 build, drop Node 20 action runtime#5

Merged
rubnogueira merged 1 commit into
masterfrom
fix/darwin-x64-and-win32
May 19, 2026
Merged

ci: fix darwin-x64 + win32-x64 build, drop Node 20 action runtime#5
rubnogueira merged 1 commit into
masterfrom
fix/darwin-x64-and-win32

Conversation

@rubnogueira
Copy link
Copy Markdown

  • darwin-x64: cross-compile from a macos-14 (arm64) runner with --arch x64 instead of waiting on the capacity-starved macos-13 runner pool. Verified locally that the produced binary is "Mach-O 64-bit bundle x86_64".
  • win32-x64: drop the --strip flag on Windows. prebuild --strip spawns binutils' strip which is not on the Windows runner PATH; the spawn failure was what made every Windows build exit 2. Symbols stay in the .node binary (a few KB larger, functionally identical).
  • Bump actions/upload-artifact@v4 → v7 and actions/download-artifact@v4 → v8 so we stop pulling in the Node 20 action runtime. Both new majors share the same artifact storage backend and interoperate.

- darwin-x64: cross-compile from a macos-14 (arm64) runner with
  --arch x64 instead of waiting on the capacity-starved macos-13
  runner pool. Verified locally that the produced binary is
  "Mach-O 64-bit bundle x86_64".
- win32-x64: drop the --strip flag on Windows. prebuild --strip
  spawns binutils' `strip` which is not on the Windows runner
  PATH; the spawn failure was what made every Windows build exit 2.
  Symbols stay in the .node binary (a few KB larger, functionally
  identical).
- Bump actions/upload-artifact@v4 → v7 and actions/download-artifact@v4
  → v8 so we stop pulling in the Node 20 action runtime. Both new
  majors share the same artifact storage backend and interoperate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rubnogueira rubnogueira merged commit fc240c4 into master May 19, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant