Skip to content

Commit

Permalink
ci: add workflow to test Node.js POSIX integration
Browse files Browse the repository at this point in the history
Build on ubuntu-latest and macOS-latest.
  • Loading branch information
targos authored and ryzokuken committed Dec 28, 2020
1 parent bab8294 commit 58eea54
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/nodejs-posix.yml
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

0 comments on commit 58eea54

Please sign in to comment.