This commit is contained in:
spiritysdx
2024-07-04 19:14:04 +08:00
parent 955b887039
commit a6d28bd72a
3 changed files with 21 additions and 20 deletions

View File

@@ -6,28 +6,17 @@ builds:
- env:
- CGO_ENABLED=0 # 禁用 CGO强制静态链接
goos:
- freebsd
- linux
- windows
- darwin
- openbsd
- freebsd
goarch:
- amd64
- arm
- arm64
- 386
- s390x
- ppc64
- ppc64le
- riscv64
- mips
- mips64
- mipsle
- mips64le
- loong64
goarm:
- 5
- 6
- 7
gomips:
- hardfloat
@@ -36,7 +25,7 @@ builds:
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{ .CommitDate }}
archives:
- name_template: >-
{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "openbsd" }}OpenBSD{{ else }}{{ title .Os }}{{ end }}_{{ if eq .Arch "386" }}i386{{ else if eq .Arch "amd64" }}x86_64{{ else }}{{ .Arch }}{{ end }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "openbsd" }}OpenBSD{{ else }}{{ title .Os }}{{ end }}_{{ if eq .Arch "386" }}i386{{ else if eq .Arch "amd64" }}x86_64{{ else if eq .Arch "arm" }}armv7{{ else if eq .Arch "arm64" }}arm64{{ else if eq .Arch "riscv64" }}riscv64{{ else }}{{ .Arch }}{{ end }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
checksum:
name_template: 'checksums.txt'

View File

@@ -12,11 +12,17 @@ Shell版本 https://github.com/spiritLHLS/ecs
## 适配系统和架构
支持的架构: x86_64、i386、arm64
编译支持的架构: amd64、arm、arm64、386、s390x、ppc64、ppc64le、riscv64、mips、mips64、mipsle、mips64le、loong64
支持的架构(有依赖包不支持该架构): s390x
测试支持的架构: amd64、arm64
已支持的系统: Linux、Windows
更多架构请自行测试
编译支持的系统: Linux、Windows、FreeBSD、OpenBSD
测试支持的系统: Linux、Windows
更多系统请自行测试
待支持的系统(存在硬件测试BUG未修复): MacOS

View File

@@ -12,13 +12,19 @@ Shell version: https://github.com/spiritLHLS/ecs/blob/main/README_EN.md
## Supported Systems and Architectures
Supported architectures: x86_64, i386, arm64
Architectures supported for compilation: amd64, arm, arm64, 386, s390x, ppc64, ppc64le, riscv64, mips, mips64, mipsle, mips64le, loong64
Pending support (due to unsupported dependencies): s390x
Tested architectures: amd64, arm64
Supported systems: Linux, Windows
More architectures please test by yourself
Pending support (due to unresolved hardware testing bugs): MacOS
Compilation support: Linux, Windows, FreeBSD, OpenBSD
Tested on: Linux, Windows
More systems to be tested
Systems to be supported (hardware testing bugs not yet fixed): MacOS
## Features