Compare commits
No commits in common. "94e0eeaecbc3644c15022db0aa8be3e7b6c4bcc0" and "e332148440811ebe042d03d695f65770b6f4274f" have entirely different histories.
94e0eeaecb
...
e332148440
28
ci.sh
28
ci.sh
|
@ -2,23 +2,17 @@
|
||||||
|
|
||||||
rm -f $(find . -type f | grep -E ^\./bshchk.\*)
|
rm -f $(find . -type f | grep -E ^\./bshchk.\*)
|
||||||
|
|
||||||
ver=$(git describe --tags 2> /dev/null)
|
GOOS=linux GOARCH=386 go build -o "bshchk.linux.i386" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
GOOS=linux GOARCH=amd64 go build -o "bshchk.linux.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
GOOS=linux GOARCH=arm64 go build -o "bshchk.linux.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
GOOS=linux GOARCH=arm go build -o "bshchk.linux.arm" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
|
||||||
GOOS=linux GOARCH=386 go build -o "bshchk.linux.i386" -ldflags "-s -w -X main.version=$ver" . &
|
GOOS=windows GOARCH=386 go build -o "bshchk.windows.i386.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=linux GOARCH=amd64 go build -o "bshchk.linux.amd64" -ldflags "-s -w -X main.version=$ver" . &
|
GOOS=windows GOARCH=amd64 go build -o "bshchk.windows.amd64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=linux GOARCH=arm64 go build -o "bshchk.linux.arm64" -ldflags "-s -w -X main.version=$ver" . &
|
GOOS=windows GOARCH=arm64 go build -o "bshchk.windows.arm64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=linux GOARCH=arm go build -o "bshchk.linux.arm" -ldflags "-s -w -X main.version=$ver" . &
|
GOOS=windows GOARCH=arm go build -o "bshchk.windows.arm" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
|
||||||
wait
|
GOOS=darwin GOARCH=amd64 go build -o "bshchk.darwin.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
GOOS=darwin GOARCH=arm64 go build -o "bshchk.darwin.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=windows GOARCH=386 go build -o "bshchk.windows.i386.exe" -ldflags "-s -w -X main.version=$ver" . &
|
|
||||||
GOOS=windows GOARCH=amd64 go build -o "bshchk.windows.amd64.exe" -ldflags "-s -w -X main.version=$ver" . &
|
|
||||||
GOOS=windows GOARCH=arm64 go build -o "bshchk.windows.arm64.exe" -ldflags "-s -w -X main.version=$ver" . &
|
|
||||||
GOOS=windows GOARCH=arm go build -o "bshchk.windows.arm" -ldflags "-s -w -X main.version=$ver" . &
|
|
||||||
|
|
||||||
wait
|
|
||||||
|
|
||||||
GOOS=darwin GOARCH=amd64 go build -o "bshchk.darwin.amd64" -ldflags "-s -w -X main.version=$ver" . &
|
|
||||||
GOOS=darwin GOARCH=arm64 go build -o "bshchk.darwin.arm64" -ldflags "-s -w -X main.version=$ver" . &
|
|
||||||
|
|
||||||
wait
|
wait
|
||||||
|
|
3
rdc.sh
3
rdc.sh
|
@ -17,9 +17,8 @@ if (( ${#non_ok[@]} != 0 )); then
|
||||||
>&2 echo " From which, these are missing:"
|
>&2 echo " From which, these are missing:"
|
||||||
>&2 echo " > $non_ok"
|
>&2 echo " > $non_ok"
|
||||||
>&2 echo "Make sure that those are installed and are present in \$PATH."
|
>&2 echo "Make sure that those are installed and are present in \$PATH."
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unset non_ok{{if .UnsetDeps}}
|
unset non_ok{{if .UnsetDeps}}
|
||||||
unset {{.DepsVar}}
|
unset {{.DepsVar}}
|
||||||
{{end}}# Dependencies are OK at this point
|
{{end}}# Dependencies are OK at this point
|
Loading…
Reference in New Issue