mirror of
https://github.com/oneclickvirt/ecs.git
synced 2025-12-24 12:37:53 +08:00
fix: 暂时注释调freebsd进行编译
This commit is contained in:
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -36,7 +36,7 @@ jobs:
|
||||
run: |
|
||||
echo "Installing missing cross-compilation tools..."
|
||||
apt-get update
|
||||
apt-get install -y gcc-multilib g++-multilib linux-headers
|
||||
apt-get install -y gcc-multilib g++-multilib
|
||||
dpkg --add-architecture i386
|
||||
apt-get update
|
||||
apt-get install -y \
|
||||
|
||||
@@ -405,27 +405,27 @@ builds:
|
||||
- echo "Successfully built linux/ppc64 (no CGO)"
|
||||
- echo "---"
|
||||
|
||||
# FreeBSD AMD64 (no CGO)
|
||||
- id: freebsd-amd64-nocgo
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
ldflags:
|
||||
- -s -w -X main.version={{.Version}} -X main.arch={{.Arch}} -checklinkname=0
|
||||
flags:
|
||||
- -trimpath
|
||||
goos:
|
||||
- freebsd
|
||||
goarch:
|
||||
- amd64
|
||||
main: ./
|
||||
binary: goecs
|
||||
no_unique_dist_dir: true
|
||||
hooks:
|
||||
pre:
|
||||
- echo "Starting build for freebsd/amd64 (no CGO)"
|
||||
post:
|
||||
- echo "Successfully built freebsd/amd64 (no CGO)"
|
||||
- echo "---"
|
||||
# # FreeBSD AMD64 (no CGO)
|
||||
# - id: freebsd-amd64-nocgo
|
||||
# env:
|
||||
# - CGO_ENABLED=0
|
||||
# ldflags:
|
||||
# - -s -w -X main.version={{.Version}} -X main.arch={{.Arch}} -checklinkname=0
|
||||
# flags:
|
||||
# - -trimpath
|
||||
# goos:
|
||||
# - freebsd
|
||||
# goarch:
|
||||
# - amd64
|
||||
# main: ./
|
||||
# binary: goecs
|
||||
# no_unique_dist_dir: true
|
||||
# hooks:
|
||||
# pre:
|
||||
# - echo "Starting build for freebsd/amd64 (no CGO)"
|
||||
# post:
|
||||
# - echo "Successfully built freebsd/amd64 (no CGO)"
|
||||
# - echo "---"
|
||||
|
||||
# # FreeBSD ARM64 (no CGO)
|
||||
# - id: freebsd-arm64-nocgo
|
||||
@@ -477,7 +477,7 @@ checksum:
|
||||
- linux-mips-nocgo
|
||||
- linux-mipsle-nocgo
|
||||
- linux-ppc64-nocgo
|
||||
- freebsd-amd64-nocgo
|
||||
# - freebsd-amd64-nocgo
|
||||
# - freebsd-arm64-nocgo
|
||||
extra_files:
|
||||
- glob: "./goecs.sh"
|
||||
@@ -509,7 +509,7 @@ archives:
|
||||
- linux-mips-nocgo
|
||||
- linux-mipsle-nocgo
|
||||
- linux-ppc64-nocgo
|
||||
- freebsd-amd64-nocgo
|
||||
# - freebsd-amd64-nocgo
|
||||
# - freebsd-arm64-nocgo
|
||||
|
||||
changelog:
|
||||
|
||||
Reference in New Issue
Block a user