mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
build: Remove Appveyor and old CircleCI stuff
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2997
This commit is contained in:
parent
842b6111db
commit
cb38213444
@ -1,12 +0,0 @@
|
||||
version: '{branch}-{build}'
|
||||
clone_folder: C:\src\github.com\syncthing\syncthing
|
||||
init:
|
||||
- go version
|
||||
environment:
|
||||
GOPATH: C:\
|
||||
build_script:
|
||||
- go run build.go zip
|
||||
test_script:
|
||||
- go run build.go test
|
||||
artifacts:
|
||||
- path: '*.zip'
|
@ -1,33 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
[ -d ~/go1.5 ] && exit
|
||||
|
||||
# Install the version of Go that we want
|
||||
|
||||
curl -s https://storage.googleapis.com/golang/go1.5.linux-amd64.tar.gz \
|
||||
| tar -C ~ --transform s/go/go1.5/ -zx
|
||||
|
||||
# Build the standard library for all our cross compilation targets. We do that
|
||||
# here so that it gets cached and we don't need to repeat it for every build.
|
||||
|
||||
for GOOS in darwin dragonfly solaris; do
|
||||
export GOOS
|
||||
export GOARCH=amd64
|
||||
echo $GOOS $GOARCH
|
||||
go install std
|
||||
done
|
||||
|
||||
for GOOS in freebsd linux netbsd openbsd windows; do
|
||||
for GOARCH in amd64 386; do
|
||||
export GOOS
|
||||
export GOARCH
|
||||
echo $GOOS $GOARCH
|
||||
go install std
|
||||
done
|
||||
done
|
||||
|
||||
export GOOS=linux
|
||||
export GOARCH=arm
|
||||
echo $GOOS $GOARCH
|
||||
go install std
|
Loading…
Reference in New Issue
Block a user