Skip to content

Commit 1afd573

Browse files
committed
Add builds for linux/riscv64
1 parent c367a82 commit 1afd573

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.ci/ci-build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ ln dnscrypt-proxy linux-mips64le/
141141
ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-mips64le/
142142
tar czpvf dnscrypt-proxy-linux_mips64le-${PACKAGE_VERSION:-dev}.tar.gz linux-mips64le
143143

144+
go clean
145+
env CGO_ENABLED=0 GOOS=linux GOARCH=riscv64 go build -mod vendor -ldflags="-s -w"
146+
mkdir linux-riscv64
147+
ln dnscrypt-proxy linux-riscv64/
148+
ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-riscv64/
149+
tar czpvf dnscrypt-proxy-linux_riscv64-${PACKAGE_VERSION:-dev}.tar.gz linux-riscv64
150+
144151
go clean
145152
env GOOS=darwin GOARCH=amd64 go build -mod vendor -ldflags="-s -w"
146153
mkdir macos-x86_64

0 commit comments

Comments
 (0)