-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0fdb0ec
commit 0fc44d9
Showing
2 changed files
with
67 additions
and
32 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Node.js integration | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
integration: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-latest, macos-14, ubuntu-latest] | ||
python: ["3.8", "3.10", "3.12"] | ||
exclude: | ||
- os: macos-14 | ||
python: "3.8" | ||
|
||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Clone gyp-next | ||
uses: actions/checkout@v4 | ||
with: | ||
path: gyp-next | ||
- name: Clone nodejs/node | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: nodejs/node | ||
path: node | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
allow-prereleases: true | ||
- name: Replace gyp in node | ||
shell: bash | ||
run: | | ||
rm -rf node/tools/gyp | ||
cp -r gyp-next node/tools/gyp | ||
- name: Run configure | ||
shell: bash | ||
run: | | ||
cd node | ||
./configure | ||
integration-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Clone gyp-next | ||
uses: actions/checkout@v4 | ||
with: | ||
path: gyp-next | ||
- name: Clone nodejs/node | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: nodejs/node | ||
path: node | ||
- name: Install deps | ||
run: choco install nasm | ||
- name: Replace gyp in Node.js | ||
run: | | ||
rm -Recurse node/tools/gyp | ||
cp -Recurse gyp-next node/tools/gyp | ||
- name: Build Node.js | ||
run: | | ||
cd node | ||
./vcbuild.bat |