File tree Expand file tree Collapse file tree 4 files changed +28
-7
lines changed Expand file tree Collapse file tree 4 files changed +28
-7
lines changed Original file line number Diff line number Diff line change 2121 with :
2222 runner : windows-latest
2323 binary : windows
24- build : ' ["windows"]'
24+ build : ' ["windows-x64", "windows-arm64 "]'
2525
2626 build-macos :
2727 name : Build MacOS
Original file line number Diff line number Diff line change 2828 "name" : " windows" ,
2929 "inherits" : " default" ,
3030 "generator" : " Visual Studio 17 2022" ,
31- "architecture" : " x64" ,
3231 "condition" : {
3332 "lhs" : " ${hostSystemName}" ,
3433 "type" : " equals" ,
3534 "rhs" : " Windows"
3635 }
3736 },
37+ {
38+ "name" : " windows-x64" ,
39+ "inherits" : " windows" ,
40+ "architecture" : " x64"
41+ },
42+ {
43+ "name" : " windows-arm64" ,
44+ "inherits" : " windows" ,
45+ "architecture" : " ARM64"
46+ },
3847 {
3948 "name" : " macos" ,
4049 "displayName" : " macOS" ,
125134 "configuration" : " Debug"
126135 },
127136 {
128- "name" : " windows" ,
129- "configurePreset" : " windows" ,
137+ "name" : " windows-x64 " ,
138+ "configurePreset" : " windows-x64 " ,
130139 "displayName" : " x64" ,
131140 "configuration" : " Debug"
132141 },
142+ {
143+ "name" : " windows-arm64" ,
144+ "configurePreset" : " windows-arm64" ,
145+ "displayName" : " arm64" ,
146+ "configuration" : " Debug"
147+ },
133148 {
134149 "name" : " android-x86_64" ,
135150 "configurePreset" : " android-x86_64" ,
Original file line number Diff line number Diff line change 77pushd " %~dp0 .."
88echo %CD%
99
10- cmake --preset windows
11- cmake --build --preset windows --config MinSizeRel
10+ @ REM only building for x64 if no arguments
11+ set ABIS = x64 arm64
12+ if [%1 ]== [] set ABIS = x64
13+
14+ (for %%a in (%ABIS% ) do (
15+ cmake --preset windows-%%a
16+ cmake --build --preset windows-%%a --config MinSizeRel
17+ ))
You can’t perform that action at this time.
0 commit comments