We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68fc887 commit f62cef3Copy full SHA for f62cef3
ci/test.sh
@@ -11,6 +11,19 @@ cd -- "$(dirname "$0")/.."
11
go test "$@" ./...
12
)
13
14
+(
15
+ GOARCH=arm64 go test -c -o ./ci/out/websocket-arm64.test "$@" .
16
+ if [ "$#" -eq 0 ]; then
17
+ if [ "${CI-}" ]; then
18
+ sudo apt-get update
19
+ sudo apt-get install -y qemu-user-static
20
+ ln -s /usr/bin/qemu-aarch64-static /usr/local/bin/qemu-aarch64
21
+ fi
22
+ qemu-aarch64 ./ci/out/websocket-arm64.test -test.run=TestMask
23
24
+)
25
+
26
27
go install github.com/agnivade/wasmbrowsertest@latest
28
go test --race --bench=. --timeout=1h --covermode=atomic --coverprofile=ci/out/coverage.prof --coverpkg=./... "$@" ./...
29
sed -i.bak '/stringer\.go/d' ci/out/coverage.prof
0 commit comments