Nodes
DevPlace CI / test (push) Failing after 45m44s

This commit is contained in:
2026-10-20 16:58:31 +02:00
parent 52a4ebbe58
commit 407673bf57
7 changed files with 11 additions and 16 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ set -eu
here=$(cd "$(dirname "$0")" && pwd)
out=${1:-./dist}
version=${VERSION:-$(git -C "$here" describe --tags --always --dirty 2>/dev/null || echo dev)}
targets="linux/amd64 linux/arm64 darwin/arm64 darwin/amd64 windows/amd64"
targets="linux/amd64 linux/arm64 linux/386 linux/arm darwin/arm64 darwin/amd64 windows/amd64 windows/386"
mkdir -p "$out"
out=$(cd "$out" && pwd)
@@ -32,7 +32,7 @@ for target in $targets; do
if [ "$goos" = "windows" ]; then
name="$name.exe"
fi
(cd "$here" && CGO_ENABLED=0 GOOS="$goos" GOARCH="$goarch" go build -trimpath -ldflags "-s -w -X main.Version=$version" -o "$out/$name" .)
(cd "$here" && CGO_ENABLED=0 GOOS="$goos" GOARCH="$goarch" GOARM=7 go build -trimpath -ldflags "-s -w -X main.Version=$version" -o "$out/$name" .)
if [ "$first" -eq 0 ]; then
printf ',\n' >>"$manifest"
fi