mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +00:00
jenkins: Also try build with old Go version, if available
This commit is contained in:
parent
9c67bd2550
commit
66a7829eee
@ -55,3 +55,16 @@ go run build.go -goarch armhf snap
|
|||||||
go run build.go -goarch arm64 snap
|
go run build.go -goarch arm64 snap
|
||||||
|
|
||||||
mv *.snap "$WORKSPACE"
|
mv *.snap "$WORKSPACE"
|
||||||
|
|
||||||
|
if [[ -d /usr/local/oldgo ]]; then
|
||||||
|
echo
|
||||||
|
echo Building with minimum supported Go version
|
||||||
|
export GOROOT=/usr/local/oldgo
|
||||||
|
export PATH="$GOROOT/bin:$PATH"
|
||||||
|
go version
|
||||||
|
echo
|
||||||
|
|
||||||
|
git clean -fxd
|
||||||
|
rm -rf "$GOPATH/pkg"
|
||||||
|
go run build.go install all # only compile, don't run lints and stuff
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user