File: test.sh

package info (click to toggle)
golang-github-greatroar-blobloom 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 252 kB
  • sloc: sh: 10; makefile: 3
file content (16 lines) | stat: -rwxr-xr-x 222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e -x

golangci-lint run . examples/*

go test

if [ "$(go env GOARCH)" = amd64 ]; then
	go test -tags nounsafe
	GOARCH=386 go test
fi

for e in examples/*; do
	(cd $e && go build && rm $(basename $e))
done