-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add workflow to test Node.js POSIX integration
Build on ubuntu-latest and macOS-latest.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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,30 @@ | ||
name: Node.js POSIX integration | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build-posix: | ||
name: Build Node.js on ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macOS-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Clone node-gyp | ||
uses: actions/checkout@v2 | ||
with: | ||
path: gyp-next | ||
- name: Clone nodejs/node | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: nodejs/node | ||
path: node | ||
- name: Replace gyp in Node.js | ||
run: | | ||
rm -rf node/tools/gyp | ||
cp -r gyp-next node/tools/gyp | ||
- name: Build Node.js | ||
run: | | ||
cd node | ||
make build-ci -j |