build: Attempt cross compilation for ~all targets, allow it to fail

This commit is contained in:
Jakob Borg 2023-05-03 10:54:28 +02:00
parent 3adfe2f91f
commit e136d11dce

View File

@ -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"