File tree 2 files changed +16
-27
lines changed
2 files changed +16
-27
lines changed Original file line number Diff line number Diff line change 82
82
fail-fast : false
83
83
matrix :
84
84
os :
85
- - windows-2022
86
- - ubuntu-24 .04
87
- - macos-13
85
+ - windows-2019
86
+ - ubuntu-20 .04
87
+ - macos-13 # x64
88
88
- macos-14 # arm64
89
89
steps :
90
90
- uses : actions/checkout@v4
@@ -144,9 +144,9 @@ jobs:
144
144
- ubuntu-22.04
145
145
- ubuntu-20.04
146
146
- macos-15 # arm64
147
- - macos-15-large # x64
147
+ # - macos-15-large # x64
148
148
- macos-14 # arm64
149
- - macos-14-large # x64
149
+ # - macos-14-large # x64
150
150
# - macos-14-xlarge #arm64
151
151
- macos-13 # x64
152
152
steps :
Original file line number Diff line number Diff line change @@ -15,29 +15,18 @@ function getPlatformName() {
15
15
}
16
16
}
17
17
18
- function main ( ) {
19
- let exes
20
- if ( process . platform === "win32" ) {
21
- exes = [ ".exe" ]
22
- } else if ( process . platform === "darwin" ) {
23
- exes = [ "" ]
24
- } else {
25
- exes = [ "" ]
26
- }
18
+ async function main ( ) {
19
+ const exe = process . platform === "win32" ? ".exe" : ""
27
20
28
- return Promise . all (
29
- exes . map ( ( exe ) =>
30
- execaNode ( "./node_modules/caxa/build/index.mjs" , [
31
- "--input" ,
32
- "./dist/modern" ,
33
- "--output" ,
34
- `./exe/setup-cpp-${ process . arch } -${ getPlatformName ( ) } ${ exe } ` ,
35
- "--" ,
36
- `{{caxa}}/node_modules/.bin/node${ exe } ` ,
37
- "{{caxa}}/setup-cpp.mjs" ,
38
- ] )
39
- ) ,
40
- )
21
+ await execaNode ( "./node_modules/caxa/build/index.mjs" , [
22
+ "--input" ,
23
+ "./dist/modern" ,
24
+ "--output" ,
25
+ `./exe/setup-cpp-${ process . arch } -${ getPlatformName ( ) } ${ exe } ` ,
26
+ "--" ,
27
+ `{{caxa}}/node_modules/.bin/node${ exe } ` ,
28
+ "{{caxa}}/setup-cpp.mjs" ,
29
+ ] )
41
30
}
42
31
43
32
main ( ) . catch ( ( err ) => {
You can’t perform that action at this time.
0 commit comments