2016-05-25 15:07:57 +03:00
|
|
|
os: Visual Studio 2015
|
|
|
|
|
|
|
|
# Clone directly into GOPATH.
|
2016-11-09 00:55:39 +03:00
|
|
|
clone_folder: C:\gopath\src\github.com\ethereum\go-ethereum
|
2016-05-25 15:07:57 +03:00
|
|
|
clone_depth: 5
|
|
|
|
version: "{branch}.{build}"
|
|
|
|
environment:
|
|
|
|
global:
|
2016-11-09 00:55:39 +03:00
|
|
|
GOPATH: C:\gopath
|
2016-11-07 00:37:08 +03:00
|
|
|
CC: gcc.exe
|
|
|
|
matrix:
|
|
|
|
- GETH_ARCH: amd64
|
|
|
|
MSYS2_ARCH: x86_64
|
|
|
|
MSYS2_BITS: 64
|
|
|
|
MSYSTEM: MINGW64
|
2016-11-09 00:55:39 +03:00
|
|
|
PATH: C:\msys64\mingw64\bin\;C:\Program Files (x86)\NSIS\;%PATH%
|
2016-11-07 00:37:08 +03:00
|
|
|
- GETH_ARCH: 386
|
|
|
|
MSYS2_ARCH: i686
|
|
|
|
MSYS2_BITS: 32
|
|
|
|
MSYSTEM: MINGW32
|
2016-11-09 00:55:39 +03:00
|
|
|
PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH%
|
2016-05-25 15:07:57 +03:00
|
|
|
|
|
|
|
install:
|
2017-07-11 14:49:14 +03:00
|
|
|
- git submodule update --init
|
2016-11-09 00:55:39 +03:00
|
|
|
- rmdir C:\go /s /q
|
2019-11-02 10:54:04 +03:00
|
|
|
- appveyor DownloadFile https://dl.google.com/go/go1.13.4.windows-%GETH_ARCH%.zip
|
|
|
|
- 7z x go1.13.4.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
|
2016-11-07 00:37:08 +03:00
|
|
|
- go version
|
|
|
|
- gcc --version
|
2016-05-25 15:07:57 +03:00
|
|
|
|
|
|
|
build_script:
|
2016-11-21 14:22:00 +03:00
|
|
|
- go run build\ci.go install
|
2016-05-25 15:07:57 +03:00
|
|
|
|
|
|
|
after_build:
|
2016-11-21 14:22:00 +03:00
|
|
|
- go run build\ci.go archive -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
|
|
|
|
- go run build\ci.go nsis -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
|
2016-05-25 15:07:57 +03:00
|
|
|
|
2016-11-07 00:37:08 +03:00
|
|
|
test_script:
|
|
|
|
- set CGO_ENABLED=1
|
2017-03-23 17:48:30 +03:00
|
|
|
- go run build\ci.go test -coverage
|