gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

test-architectures.sh (461B)


      1 #!/bin/sh
      2 
      3 set -e
      4 
      5 go tool dist list | while IFS=/ read os arch; do
      6     echo "Checking $os/$arch..."
      7     echo " normal"
      8     GOARCH=$arch GOOS=$os go build -o /dev/null ./...
      9     echo " noasm"
     10     GOARCH=$arch GOOS=$os go build -tags noasm -o /dev/null ./...
     11     echo " appengine"
     12     GOARCH=$arch GOOS=$os go build -tags appengine -o /dev/null ./...
     13     echo " noasm,appengine"
     14     GOARCH=$arch GOOS=$os go build -tags 'appengine noasm' -o /dev/null ./...
     15 done