-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
test_crosscompile.sh
executable file
·19 lines (18 loc) · 1.28 KB
/
test_crosscompile.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export GOOS=linux; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=linux; export GOARCH=arm64; echo $GOOS/$GOARCH; go build
export GOOS=linux; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=linux; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=arm64; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=freebsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=freebsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=freebsd; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=openbsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=openbsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=openbsd; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=netbsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=netbsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=netbsd; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=dragonfly; export GOARCH=amd64; echo $GOOS/$GOARCH; go build