feat: Add support for Windows ARM64 architecture in build workflows and scripts
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -90,6 +90,9 @@ jobs:
|
|||||||
- runner: windows-latest
|
- runner: windows-latest
|
||||||
goos: windows
|
goos: windows
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
|
- runner: windows-latest
|
||||||
|
goos: windows
|
||||||
|
goarch: arm64
|
||||||
- runner: macos-latest
|
- runner: macos-latest
|
||||||
goos: darwin
|
goos: darwin
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
|
|||||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -152,6 +152,14 @@ jobs:
|
|||||||
goos: windows
|
goos: windows
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
archive_ext: zip
|
archive_ext: zip
|
||||||
|
- component: server
|
||||||
|
goos: windows
|
||||||
|
goarch: arm64
|
||||||
|
archive_ext: zip
|
||||||
|
- component: client
|
||||||
|
goos: windows
|
||||||
|
goarch: arm64
|
||||||
|
archive_ext: zip
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ try {
|
|||||||
|
|
||||||
$DesktopPlatforms = @(
|
$DesktopPlatforms = @(
|
||||||
@{ OS = "windows"; Arch = "amd64" },
|
@{ OS = "windows"; Arch = "amd64" },
|
||||||
|
@{ OS = "windows"; Arch = "arm64" },
|
||||||
@{ OS = "linux"; Arch = "amd64" },
|
@{ OS = "linux"; Arch = "amd64" },
|
||||||
@{ OS = "linux"; Arch = "arm64" },
|
@{ OS = "linux"; Arch = "arm64" },
|
||||||
@{ OS = "darwin"; Arch = "amd64" },
|
@{ OS = "darwin"; Arch = "amd64" },
|
||||||
@@ -264,6 +265,7 @@ Options:
|
|||||||
|
|
||||||
Target platforms:
|
Target platforms:
|
||||||
- windows/amd64
|
- windows/amd64
|
||||||
|
- windows/arm64
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- darwin/amd64
|
- darwin/amd64
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ BUILD_TIME="$(date -u '+%Y-%m-%d %H:%M:%S')"
|
|||||||
GIT_COMMIT="$(git -C "$ROOT_DIR" rev-parse --short HEAD 2>/dev/null || echo unknown)"
|
GIT_COMMIT="$(git -C "$ROOT_DIR" rev-parse --short HEAD 2>/dev/null || echo unknown)"
|
||||||
USE_UPX="${USE_UPX:-true}"
|
USE_UPX="${USE_UPX:-true}"
|
||||||
|
|
||||||
DESKTOP_PLATFORMS="linux/amd64 linux/arm64 darwin/amd64 darwin/arm64 windows/amd64"
|
DESKTOP_PLATFORMS="linux/amd64 linux/arm64 windows/amd64 windows/arm64 darwin/amd64 darwin/arm64"
|
||||||
|
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
|
|||||||
Reference in New Issue
Block a user