forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (40 loc) Β· 1.06 KB
/
Copy pathwinbuild.yml
File metadata and controls
48 lines (40 loc) Β· 1.06 KB
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
name: Build Node.js Windows x64
on:
push:
branches:
- issue-60263
workflow_dispatch:
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
ref: issue-60263
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Cache build intermediates
uses: actions/cache@v4
with:
path: |
out
tools\msvs\build
.gyp
key: node-build-${{ runner.os }}-${{ hashFiles('**/*.cc', '**/*.h', 'vcbuild.bat') }}
restore-keys: |
node-build-${{ runner.os }}-
- name: Install Visual Studio Build Tools
uses: microsoft/setup-msbuild@v1
with:
vs-version: latest
- name: Build Node.js exe
shell: cmd
run: vcbuild.bat x64 release
- name: Upload node.exe
uses: actions/upload-artifact@v4
with:
name: node-windows-x64
path: out\Release\node.exe