From e136d11dce15bb268943c5334db88d3a9884f29f Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Wed, 3 May 2023 10:54:28 +0200 Subject: [PATCH] build: Attempt cross compilation for ~all targets, allow it to fail --- .github/workflows/build-syncthing.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml index 7b8cc91bb..6a5c570ad 100644 --- a/.github/workflows/build-syncthing.yaml +++ b/.github/workflows/build-syncthing.yaml @@ -349,9 +349,6 @@ jobs: | grep -v js/ \ | grep -v linux/ \ | grep -v nacl/ \ - | grep -v openbsd/arm\$ \ - | grep -v openbsd/arm64 \ - | grep -v openbsd/mips \ | grep -v plan9/ \ | grep -v windows/ \ ) @@ -359,7 +356,9 @@ jobs: for plat in $platforms; do goos="${plat%/*}" goarch="${plat#*/}" - go run build.go -goos "$goos" -goarch "$goarch" tar + if ! go run build.go -goos "$goos" -goarch "$goarch" tar ; then + echo "*** $plat failed ***" + fi done env: CGO_ENABLED: "0"