Skip to content

Commit 6df2cb9

Browse files
committed
Add builds for windows-arm
1 parent 6319120 commit 6df2cb9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.ci/ci-build.sh

+9
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ for i in win64/LICENSE win64/*.toml win64/*.txt; do ex -bsc '%!awk "{sub(/$/,\"\
2222
ln ../windows/* win64/
2323
zip -9 -r dnscrypt-proxy-win64-${PACKAGE_VERSION:-dev}.zip win64
2424

25+
go clean
26+
env GOOS=windows GOARCH=arm64 go build -mod vendor -ldflags="-s -w"
27+
mkdir winarm
28+
ln dnscrypt-proxy.exe winarm/
29+
cp ../LICENSE example-dnscrypt-proxy.toml localhost.pem example-*.txt winarm/
30+
for i in winarm/LICENSE winarm/*.toml winarm/*.txt; do ex -bsc '%!awk "{sub(/$/,\"\r\")}1"' -cx "$i"; done
31+
ln ../windows/* winarm/
32+
zip -9 -r dnscrypt-proxy-winarm-${PACKAGE_VERSION:-dev}.zip winarm
33+
2534
go clean
2635
env GO386=softfloat GOOS=openbsd GOARCH=386 go build -mod vendor -ldflags="-s -w"
2736
mkdir openbsd-i386

0 commit comments

Comments
 (0)