File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11project_name : chirpstack-gateway-bridge
22
3+ env :
4+ - GOMIPS=softfloat
5+
36builds :
47 - main : cmd/chirpstack-gateway-bridge/main.go
58 binary : chirpstack-gateway-bridge
@@ -12,13 +15,16 @@ builds:
1215 - 386
1316 - arm
1417 - arm64
18+ - mips
1519 goarm :
1620 - 5
1721 - 6
1822 - 7
1923 ignore :
2024 - goos : darwin
2125 goarch : 386
26+ hooks :
27+ post : ./packaging/scripts/compress-mips.sh
2228
2329release :
2430 disable : true
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ ENV PATH=$PATH:$PROJECT_PATH/build
55ENV CGO_ENABLED=0
66ENV GO_EXTRA_BUILD_ARGS="-a -installsuffix cgo"
77
8- RUN apk add --no-cache ca-certificates make git bash
8+ RUN apk add --no-cache ca-certificates make git bash upx
99
1010RUN mkdir -p $PROJECT_PATH
1111COPY . $PROJECT_PATH
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ echo " Compressing MIPS binary"
4+ upx dist/linux_mips/chirpstack-gateway-bridge
You can’t perform that action at this time.
0 commit comments