File tree Expand file tree Collapse file tree 2 files changed +55
-3
lines changed Expand file tree Collapse file tree 2 files changed +55
-3
lines changed Original file line number Diff line number Diff line change 9
9
- master
10
10
11
11
env :
12
- NODE_BUILD_CMD : npx --no-install prebuild -t 10.12 .0 -t 12.13 .0 --strip
13
- ELECTRON_BUILD_CMD : npx --no-install prebuild -r electron -t 3.0.0 -t 4.0.0 -t 4.0.4 -t 5.0.0 --strip
12
+ NODE_PREBUILD_CMD : npx prebuild -t 10.0 .0 -t 12.0.0 -t 14.0.0 -t 16.0 .0 --strip
13
+ ELECTRON_PREBUILD_CMD : npx prebuild -r electron -t 3.0.0 -t 4.0.0 -t 4.0.4 -t 5.0.0 --strip
14
14
15
15
jobs :
16
16
19
19
matrix :
20
20
os :
21
21
- windows-2019
22
+ - ubuntu-latest
23
+ - macos-latest
22
24
node :
23
25
- 10
26
+ - 12
27
+ - 14
28
+ - 16
29
+ # Not supported until superstring is removed or updated to support Node 18+
30
+ # - 18
31
+ # - 20
24
32
fail-fast : false
25
33
name : Testing Node ${{ matrix.node }} on ${{ matrix.os }}
26
34
runs-on : ${{ matrix.os }}
35
43
36
44
- run : npm install
37
45
- run : npm test
46
+
47
+ prebuild :
48
+ strategy :
49
+ matrix :
50
+ os :
51
+ - ubuntu-latest
52
+ - windows-2019
53
+ - macos-latest
54
+ node :
55
+ - 10
56
+ - 12
57
+ - 14
58
+ - 16
59
+ # Not supported until superstring is removed or updated to support Node 18+
60
+ # - 18
61
+ # - 20
62
+ fail-fast : false
63
+ name : Prebuild with Node ${{ matrix.node }} on ${{ matrix.os }}
64
+ runs-on : ${{ matrix.os }}
65
+ # needs: test
66
+ steps :
67
+ - uses : actions/checkout@v3
68
+ with :
69
+ submodules : true
70
+ fetch-depth : 0
71
+ - uses : actions/setup-node@v3
72
+ with :
73
+ node-version : ${{ matrix.node }}
74
+ - run : npm install
75
+ - if : matrix.os == 'windows-latest'
76
+ run : |
77
+ ${{ env.NODE_PREBUILD_CMD }} --arch ia32
78
+ ${{ env.ELECTRON_PREBUILD_CMD }} --arch ia32
79
+ - if : matrix.os == 'macos-latest'
80
+ run : |
81
+ ${{ env.NODE_PREBUILD_CMD }} --arch arm64
82
+ ${{ env.ELECTRON_PREBUILD_CMD }} --arch arm64
83
+ - run : ${{ env.NODE_PREBUILD_CMD }}
84
+ - run : ${{ env.ELECTRON_PREBUILD_CMD }}
Original file line number Diff line number Diff line change 49
49
]
50
50
}
51
51
],
52
- 'variables' : { 'runtime%' : 'node' },
52
+ 'variables' : {
53
+ 'runtime%' : 'node' ,
54
+ 'openssl_fips' : '' ,
55
+ 'v8_enable_pointer_compression%' : 0 ,
56
+ 'v8_enable_31bit_smis_on_64bit_arch%' : 0 ,
57
+ },
53
58
'conditions' : [
54
59
['runtime=="electron"' , { 'defines' : ['NODE_RUNTIME_ELECTRON=1' ] }],
55
60
]
You can’t perform that action at this time.
0 commit comments