summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/minio/sha256-simd/test-architectures.sh
blob: 50150eaabe50298ca235a3a9c7d238e15e63bbdc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

go tool dist list | while IFS=/ read os arch; do
    echo "Checking $os/$arch..."
    echo " normal"
    GOARCH=$arch GOOS=$os go build -o /dev/null ./...
    echo " noasm"
    GOARCH=$arch GOOS=$os go build -tags noasm -o /dev/null ./...
    echo " appengine"
    GOARCH=$arch GOOS=$os go build -tags appengine -o /dev/null ./...
    echo " noasm,appengine"
    GOARCH=$arch GOOS=$os go build -tags 'appengine noasm' -o /dev/null ./...
done