mirror of
https://github.com/diamante0018/master-tool.git
synced 2025-07-05 10:41:48 +00:00
build: more arm64 tests on macos (#39)
This commit is contained in:
@ -39,7 +39,7 @@ targetdir "%{wks.location}/bin/%{cfg.platform}/%{cfg.buildcfg}"
|
||||
configurations {"Debug", "Release"}
|
||||
|
||||
if os.istarget("darwin") then
|
||||
platforms {"x64"}
|
||||
platforms {"x64", "arm64"}
|
||||
else
|
||||
platforms {"x86", "x64", "arm64"}
|
||||
end
|
||||
@ -79,6 +79,13 @@ if os.istarget("linux") or os.istarget("darwin") then
|
||||
linkoptions "-pthread"
|
||||
end
|
||||
|
||||
if os.istarget("darwin") then
|
||||
filter "platforms:arm64"
|
||||
buildoptions "-arch arm64"
|
||||
linkoptions "-arch arm64"
|
||||
filter {}
|
||||
end
|
||||
|
||||
if os.getenv("CI") then
|
||||
defines "CI"
|
||||
end
|
||||
|
Reference in New Issue
Block a user