fix: support cross compiling for wasm with make generator #517
Workflow file for this run
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
name: Node.js Windows integration | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build-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 |