From 1afd573b0df371ec49176ab7c275eee9e8280b86 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 18 May 2022 13:31:46 +0200 Subject: [PATCH] Add builds for linux/riscv64 --- .ci/ci-build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.ci/ci-build.sh b/.ci/ci-build.sh index 562106dc..4ca74945 100755 --- a/.ci/ci-build.sh +++ b/.ci/ci-build.sh @@ -141,6 +141,13 @@ ln dnscrypt-proxy linux-mips64le/ ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-mips64le/ tar czpvf dnscrypt-proxy-linux_mips64le-${PACKAGE_VERSION:-dev}.tar.gz linux-mips64le +go clean +env CGO_ENABLED=0 GOOS=linux GOARCH=riscv64 go build -mod vendor -ldflags="-s -w" +mkdir linux-riscv64 +ln dnscrypt-proxy linux-riscv64/ +ln ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt linux-riscv64/ +tar czpvf dnscrypt-proxy-linux_riscv64-${PACKAGE_VERSION:-dev}.tar.gz linux-riscv64 + go clean env GOOS=darwin GOARCH=amd64 go build -mod vendor -ldflags="-s -w" mkdir macos-x86_64