-
Notifications
You must be signed in to change notification settings - Fork 73
53 lines (49 loc) · 1.22 KB
/
nodejs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Node.js integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
integration:
strategy:
fail-fast: false
matrix:
os: [macos-13, macos-latest, ubuntu-latest, windows-latest]
python: ["3.8", "3.10", "3.12", "3.13"]
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.js
shell: bash
run: |
rm -rf node/tools/gyp
cp -r gyp-next node/tools/gyp
# macOS and Linux
- name: Run configure
if: runner.os != 'Windows'
run: |
cd node
./configure
# Windows
- name: Install deps
if: runner.os == 'Windows'
run: choco install nasm
- name: Run configure
if: runner.os == 'Windows'
run: |
cd node
./vcbuild.bat nobuild