Skip to content

Commit

Permalink
添加arm build
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Jun 17, 2021
1 parent c1a9236 commit d3b1bcb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build_arm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
go version
go env -w GOPROXY=https://goproxy.cn,direct
go env -w GO111MODULE=auto
go mod tidy
GOOS=linux GOARCH=arm GOARM=6 CGO_ENABLED=0 CC=${CCBIN} CXX=${CXXBIN} go build -ldflags "-s -w" -o zerobot

0 comments on commit d3b1bcb

Please sign in to comment.