mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-12 13:32:46 +00:00
a156188b3e
* update dependencies, bump Go version to 1.19 * bump test image Go version * update golangci-lint * update gotosocial-drone-build * sign * linting, go fmt * update swagger docs * update swagger docs * whitespace * update contributing.md * fuckin whoopsie doopsie * linterino, linteroni * fix followrequest test not starting processor * fix other api/client tests not starting processor * fix remaining tests where processor not started * bump go-runners version * don't check last-webfingered-at, processor may have updated this * update swagger command * update bun to latest version * fix embed to work the same as before with new bun Signed-off-by: kim <grufwub@gmail.com> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
41 lines
2.1 KiB
Bash
41 lines
2.1 KiB
Bash
set -e
|
|
for tag in none dmesg libc.membrk libc.memgrind
|
|
do echo "-tags=$tag" ; \
|
|
GOOS=darwin GOARCH=amd64 go build -tags=$tag -v ./...
|
|
GOOS=darwin GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
|
GOOS=darwin GOARCH=arm64 go build -tags=$tag -v ./...
|
|
GOOS=darwin GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
|
GOOS=freebsd GOARCH=386 go build -tags=$tag -v ./...
|
|
GOOS=freebsd GOARCH=386 go test -tags=$tag -c -o /dev/null
|
|
GOOS=freebsd GOARCH=amd64 go build -tags=$tag -v ./...
|
|
GOOS=freebsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
|
GOOS=freebsd GOARCH=arm go build -tags=$tag -v ./...
|
|
GOOS=freebsd GOARCH=arm go test -tags=$tag -c -o /dev/null
|
|
GOOS=linux GOARCH=386 go build -tags=$tag -v ./...
|
|
GOOS=linux GOARCH=386 go test -tags=$tag -c -o /dev/null
|
|
GOOS=linux GOARCH=amd64 go build -tags=$tag -v ./...
|
|
GOOS=linux GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
|
GOOS=linux GOARCH=arm go build -tags=$tag -v ./...
|
|
GOOS=linux GOARCH=arm go test -tags=$tag -c -o /dev/null
|
|
GOOS=linux GOARCH=arm64 go build -tags=$tag -v ./...
|
|
GOOS=linux GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
|
GOOS=linux GOARCH=ppc64le go test -tags=$tag -c -o /dev/null
|
|
GOOS=linux GOARCH=ppc64le go test -tags=$tag -c -o /dev/null
|
|
GOOS=linux GOARCH=riscv64 go build -tags=$tag -v ./...
|
|
GOOS=linux GOARCH=riscv64 go build -tags=$tag -v ./...
|
|
GOOS=linux GOARCH=s390x go build -tags=$tag -v ./...
|
|
GOOS=linux GOARCH=s390x go test -tags=$tag -c -o /dev/null
|
|
GOOS=netbsd GOARCH=amd64 go build -tags=$tag -v ./...
|
|
GOOS=netbsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
|
GOOS=openbsd GOARCH=amd64 go build -tags=$tag -v ./...
|
|
GOOS=openbsd GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
|
GOOS=openbsd GOARCH=arm64 go build -tags=$tag -v ./...
|
|
GOOS=openbsd GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
|
GOOS=windows GOARCH=386 go build -tags=$tag -v ./...
|
|
GOOS=windows GOARCH=386 go test -tags=$tag -c -o /dev/null
|
|
GOOS=windows GOARCH=amd64 go build -tags=$tag -v ./...
|
|
GOOS=windows GOARCH=amd64 go test -tags=$tag -c -o /dev/null
|
|
GOOS=windows GOARCH=arm64 go build -tags=$tag -v ./...
|
|
GOOS=windows GOARCH=arm64 go test -tags=$tag -c -o /dev/null
|
|
done
|