mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-02 01:37:04 +08:00
add travis arm 5/6/7
This commit is contained in:
1 parent
c24a3765a9
commit
7838ee66fd
1 file changed
+10
-2
+10
-2
@@ -31,9 +31,17 @@ before_deploy:
|
|||||||
|
|
||||||
- tar -czvf freebsd_arm_client.tar.gz npc conf/npc.conf
|
- tar -czvf freebsd_arm_client.tar.gz npc conf/npc.conf
|
||||||
|
|
||||||
- CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -ldflags "-s -w -extldflags -static -extldflags -static" ./cmd/npc/npc.go
|
- CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -ldflags "-s -w -extldflags -static -extldflags -static" ./cmd/npc/npc.go
|
||||||
|
|
||||||
- tar -czvf linux_arm_client.tar.gz npc conf/npc.conf
|
- tar -czvf linux_arm7_client.tar.gz npc conf/npc.conf
|
||||||
|
|
||||||
|
- CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=6 go build -ldflags "-s -w -extldflags -static -extldflags -static" ./cmd/npc/npc.go
|
||||||
|
|
||||||
|
- tar -czvf linux_arm6_client.tar.gz npc conf/npc.conf
|
||||||
|
-
|
||||||
|
- CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=5 go build -ldflags "-s -w -extldflags -static -extldflags -static" ./cmd/npc/npc.go
|
||||||
|
|
||||||
|
- tar -czvf linux_arm5_client.tar.gz npc conf/npc.conf
|
||||||
|
|
||||||
|
|
||||||
- CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -extldflags -static -extldflags -static" ./cmd/npc/npc.go
|
- CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -extldflags -static -extldflags -static" ./cmd/npc/npc.go
|
||||||
|
|||||||
Reference in new issue
Block a user