2022-09-28 18:30:40 +01:00
|
|
|
set -e
|
|
|
|
for tag in none dmesg libc.membrk libc.memgrind
|
2022-11-28 10:19:39 +00:00
|
|
|
do
|
|
|
|
echo "-tags=$tag"
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=darwin GOARCH=amd64"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=darwin GOARCH=amd64 go build -tags=$tag -v ./...
|
|
|
|
GOOS=darwin GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=darwin GOARCH=arm64"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=darwin GOARCH=arm64 go build -tags=$tag -v ./...
|
|
|
|
GOOS=darwin GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=freebsd GOARCH=386"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=freebsd GOARCH=386 go build -tags=$tag -v ./...
|
|
|
|
GOOS=freebsd GOARCH=386 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=freebsd GOARCH=amd64"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=freebsd GOARCH=amd64 go build -tags=$tag -v ./...
|
|
|
|
GOOS=freebsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=freebsd GOARCH=arm"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=freebsd GOARCH=arm go build -tags=$tag -v ./...
|
|
|
|
GOOS=freebsd GOARCH=arm go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=linux GOARCH=386"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=linux GOARCH=386 go build -tags=$tag -v ./...
|
|
|
|
GOOS=linux GOARCH=386 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=linux GOARCH=amd64"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=linux GOARCH=amd64 go build -tags=$tag -v ./...
|
|
|
|
GOOS=linux GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=linux GOARCH=arm"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=linux GOARCH=arm go build -tags=$tag -v ./...
|
|
|
|
GOOS=linux GOARCH=arm go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=linux GOARCH=arm64"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=linux GOARCH=arm64 go build -tags=$tag -v ./...
|
|
|
|
GOOS=linux GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=linux GOARCH=loong64"
|
|
|
|
GOOS=linux GOARCH=loong64 go build -tags=$tag -v ./...
|
|
|
|
GOOS=linux GOARCH=loong64 go test -tags=$tag -c -o /dev/null
|
|
|
|
echo "GOOS=linux GOARCH=ppc64le"
|
|
|
|
GOOS=linux GOARCH=ppc64le go build -tags=$tag -v ./...
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=linux GOARCH=ppc64le go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=linux GOARCH=riscv64"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=linux GOARCH=riscv64 go build -tags=$tag -v ./...
|
2023-08-16 16:09:50 +01:00
|
|
|
GOOS=linux GOARCH=riscv64 go test -tags=$tag -c -o /dev/null
|
|
|
|
echo "GOOS=linux GOARCH=s390x"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=linux GOARCH=s390x go build -tags=$tag -v ./...
|
|
|
|
GOOS=linux GOARCH=s390x go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=netbsd GOARCH=amd64"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=netbsd GOARCH=amd64 go build -tags=$tag -v ./...
|
|
|
|
GOOS=netbsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=netbsd GOARCH=arm"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=netbsd GOARCH=arm go build -tags=$tag -v ./...
|
|
|
|
GOOS=netbsd GOARCH=arm go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=openbsd GOARCH=386"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=openbsd GOARCH=386 go build -tags=$tag -v ./...
|
|
|
|
GOOS=openbsd GOARCH=386 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=openbsd GOARCH=amd64"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=openbsd GOARCH=amd64 go build -tags=$tag -v ./...
|
|
|
|
GOOS=openbsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=openbsd GOARCH=arm64"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=openbsd GOARCH=arm64 go build -tags=$tag -v ./...
|
|
|
|
GOOS=openbsd GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=windows GOARCH=386"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=windows GOARCH=386 go build -tags=$tag -v ./...
|
|
|
|
GOOS=windows GOARCH=386 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=windows GOARCH=amd64"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=windows GOARCH=amd64 go build -tags=$tag -v ./...
|
|
|
|
GOOS=windows GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
2023-08-16 16:09:50 +01:00
|
|
|
echo "GOOS=windows GOARCH=arm64"
|
2022-11-28 10:19:39 +00:00
|
|
|
GOOS=windows GOARCH=arm64 go build -tags=$tag -v ./...
|
|
|
|
GOOS=windows GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
2022-09-28 18:30:40 +01:00
|
|
|
done
|