mirror of
https://github.com/alterware/aw-installer.git
synced 2025-04-20 16:35:43 +00:00
build: experiment with arm64 on Windows (#17)
This commit is contained in:
parent
296b92d5fc
commit
2230f7ea46
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -28,9 +28,12 @@ jobs:
|
|||||||
- release
|
- release
|
||||||
arch:
|
arch:
|
||||||
- x64
|
- x64
|
||||||
|
- arm64
|
||||||
include:
|
include:
|
||||||
- arch: x64
|
- arch: x64
|
||||||
platform: x64
|
platform: x64
|
||||||
|
- arch: arm64
|
||||||
|
platform: arm64
|
||||||
steps:
|
steps:
|
||||||
- name: Check out files
|
- name: Check out files
|
||||||
uses: actions/checkout@main
|
uses: actions/checkout@main
|
||||||
|
@ -44,7 +44,7 @@ cppdialect "C++20"
|
|||||||
if os.istarget("darwin") then
|
if os.istarget("darwin") then
|
||||||
platforms {"x64", "arm64"}
|
platforms {"x64", "arm64"}
|
||||||
else
|
else
|
||||||
platforms {"x86", "x64"}
|
platforms {"x86", "x64", "arm64"}
|
||||||
end
|
end
|
||||||
|
|
||||||
filter "platforms:x86"
|
filter "platforms:x86"
|
||||||
@ -85,10 +85,6 @@ filter { "system:macosx", "platforms:arm64" }
|
|||||||
linkoptions "-arch arm64"
|
linkoptions "-arch arm64"
|
||||||
filter {}
|
filter {}
|
||||||
|
|
||||||
if _OPTIONS["dev-build"] then
|
|
||||||
defines {"DEV_BUILD"}
|
|
||||||
end
|
|
||||||
|
|
||||||
if os.getenv("CI") then
|
if os.getenv("CI") then
|
||||||
defines "CI"
|
defines "CI"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user