2016-05-25 07:07:57 -05:00
|
|
|
os: Visual Studio 2015
|
|
|
|
|
|
|
|
# Clone directly into GOPATH.
|
2016-11-08 15:55:39 -06:00
|
|
|
clone_folder: C:\gopath\src\github.com\ethereum\go-ethereum
|
2016-05-25 07:07:57 -05:00
|
|
|
clone_depth: 5
|
|
|
|
version: "{branch}.{build}"
|
|
|
|
environment:
|
|
|
|
global:
|
2016-11-08 15:55:39 -06:00
|
|
|
GOPATH: C:\gopath
|
2016-11-06 15:37:08 -06:00
|
|
|
CC: gcc.exe
|
|
|
|
matrix:
|
|
|
|
- GETH_ARCH: amd64
|
|
|
|
MSYS2_ARCH: x86_64
|
|
|
|
MSYS2_BITS: 64
|
|
|
|
MSYSTEM: MINGW64
|
2016-11-08 15:55:39 -06:00
|
|
|
PATH: C:\msys64\mingw64\bin\;C:\Program Files (x86)\NSIS\;%PATH%
|
2016-11-06 15:37:08 -06:00
|
|
|
- GETH_ARCH: 386
|
|
|
|
MSYS2_ARCH: i686
|
|
|
|
MSYS2_BITS: 32
|
|
|
|
MSYSTEM: MINGW32
|
2016-11-08 15:55:39 -06:00
|
|
|
PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH%
|
2016-05-25 07:07:57 -05:00
|
|
|
|
|
|
|
install:
|
2016-11-08 15:55:39 -06:00
|
|
|
- rmdir C:\go /s /q
|
2016-11-06 15:37:08 -06:00
|
|
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.7.3.windows-amd64.zip
|
|
|
|
- 7z x go1.7.3.windows-amd64.zip -y -oC:\ > NUL
|
|
|
|
- go version
|
|
|
|
- gcc --version
|
2016-05-25 07:07:57 -05:00
|
|
|
|
|
|
|
build_script:
|
2016-11-08 15:55:39 -06:00
|
|
|
- go run build\ci.go install -arch %GETH_ARCH%
|
2016-05-25 07:07:57 -05:00
|
|
|
|
|
|
|
after_build:
|
2016-11-08 15:55:39 -06:00
|
|
|
- go run build\ci.go archive -arch %GETH_ARCH% -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
|
|
|
|
- go run build\ci.go nsis -arch %GETH_ARCH% -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
|
2016-05-25 07:07:57 -05:00
|
|
|
|
2016-11-06 15:37:08 -06:00
|
|
|
test_script:
|
|
|
|
- set GOARCH=%GETH_ARCH%
|
|
|
|
- set CGO_ENABLED=1
|
2016-11-08 15:55:39 -06:00
|
|
|
- go run build\ci.go test -vet -coverage
|