You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
707 B
YAML
33 lines
707 B
YAML
8 months ago
|
name: Node.js Windows integration
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ main ]
|
||
|
pull_request:
|
||
|
branches: [ main ]
|
||
|
workflow_dispatch:
|
||
|
|
||
|
jobs:
|
||
|
build-windows:
|
||
|
runs-on: windows-2019
|
||
|
steps:
|
||
|
- name: Clone gyp-next
|
||
|
uses: actions/checkout@v3
|
||
|
with:
|
||
|
path: gyp-next
|
||
|
- name: Clone nodejs/node
|
||
|
uses: actions/checkout@v3
|
||
|
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
|