File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 - 1.13.x
1414 - 1.14.x
1515 - 1.15.x
16+ - 1.16.x
1617 - master
1718
1819script :
@@ -42,22 +43,14 @@ matrix:
4243 script :
4344 - GOOS=linux GOARCH=386 go test .
4445 - stage : buildotherprev
45- go : 1.14 .x
46+ go : 1.15 .x
4647 os : linux
4748 arch : amd64
4849 script :
49- - GOOS=darwin GOARCH=arm64 go build .
50- - GOOS=freebsd GOARCH=arm64 go build .
51- - GOOS=netbsd GOARCH=arm64 go build .
52- - GOOS=freebsd GOARCH=amd64 go build .
53- - GOOS=netbsd GOARCH=amd64 go build .
50+ - ./test-architectures.sh
5451 - stage : buildother
55- go : 1.15 .x
52+ go : 1.16 .x
5653 os : linux
5754 arch : amd64
5855 script :
59- - GOOS=darwin GOARCH=arm64 go build .
60- - GOOS=freebsd GOARCH=arm64 go build .
61- - GOOS=netbsd GOARCH=arm64 go build .
62- - GOOS=freebsd GOARCH=amd64 go build .
63- - GOOS=netbsd GOARCH=amd64 go build .
56+ - ./test-architectures.sh
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments