-
Notifications
You must be signed in to change notification settings - Fork 94
ci: add nodejs integration on macos/linux #255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c72d057 to
0fc44d9
Compare
.github/workflows/nodejs.yml
Outdated
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: [macos-latest, macos-14, ubuntu-latest] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
macos-latest and macos-14 are exactly the same:
https://github.com/nodejs/gyp-next/actions/runs/9015778952/job/24771097889?pr=255
https://github.com/nodejs/gyp-next/actions/runs/9015778952/job/24771097430?pr=255
See "Set up job" -> "Operating System" and "Runner Image"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thanks for pointing this out. I copied this from https://github.com/nodejs/gyp-next/blob/main/.github/workflows/node-gyp.yml#L13. I'll remove this duplication.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
macos-13 is Intel ($runner.arch==X64)
macos-14 is Apple Silicon ($runner.arch==ARM64)
macos-latest is a rolling transition for 12 weeks from April 1st. (Unless someone can point to newer docs from GitHub.)
GitHub Actions blog:
Over the next 12 weeks, jobs using the
macos-latestrunner label will migrate from macOS 12 (Monterey) to macOS 14 (Sonoma).
| fail-fast: false | ||
| matrix: | ||
| os: [macos-latest, macos-14, ubuntu-latest] | ||
| python: ["3.8", "3.10", "3.12"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test the beta? https://www.python.org/download/pre-releases/
| python: ["3.8", "3.10", "3.12"] | |
| python: ["3.8", "3.10", "3.12", "3.13"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/nodejs/node/blob/main/configure#L27 doesn't accept 3.13 yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Please add it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Submitted nodejs/node#53190
|
Why merge all this complexity into a single file? |
f705fb2 to
408afd1
Compare
Most steps are similar in the integration tests, except from platform differences. |
26d9d6e to
b182b43
Compare
cclauss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor optimization
Add node-integration test to ensure the vendored
packagingwill not be removed by accident.Refs: #250 (comment)
Fixes: #31