From df6d1236ccdc8665150eeb563a430058062eac9a Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Thu, 17 Jul 2025 03:12:06 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9A=82=E6=97=B6=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E8=B0=83freebsd=E8=BF=9B=E8=A1=8C=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yaml | 2 +- .goreleaser.yaml | 46 ++++++++++++++++++------------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 980543c..8b7d6e8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 \ diff --git a/.goreleaser.yaml b/.goreleaser.yaml index da3bad7..c982821 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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: