Skip to content

feat: Use macos-arm64 github runnner to build napi package#386

Merged
shibd merged 1 commit intoapache:masterfrom
shibd:update_macos
May 22, 2024
Merged

feat: Use macos-arm64 github runnner to build napi package#386
shibd merged 1 commit intoapache:masterfrom
shibd:update_macos

Conversation

@shibd
Copy link
Member

@shibd shibd commented May 22, 2024

Motivation

For now, GitHub support MacOS arm64 runnner.

https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

  • x86_64 -> macos-13
  • arm64 -> macos-14

We can use the corresponding runner to compile the tests instead of cross-compiling.

Modifications

  • Separate the compilation model of different macOS architectures.

Verifying this change

  • All ci need passed.

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

@shibd shibd self-assigned this May 22, 2024
@shibd shibd requested a review from RobertIndie May 22, 2024 08:54
@shibd shibd merged commit 13c2859 into apache:master May 22, 2024
shibd added a commit that referenced this pull request Jul 2, 2024
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.

2 participants