2021-06-28 06:53:50 +00:00
|
|
|
os: Visual Studio 2019
|
2017-08-04 16:14:17 +00:00
|
|
|
clone_depth: 5
|
|
|
|
version: "{branch}.{build}"
|
|
|
|
environment:
|
|
|
|
matrix:
|
2021-06-28 06:53:50 +00:00
|
|
|
# We use gcc from MSYS2 because it is the most recent compiler version available on
|
|
|
|
# AppVeyor. Note: gcc.exe only works properly if the corresponding bin/ directory is
|
|
|
|
# contained in PATH.
|
2017-08-04 16:14:17 +00:00
|
|
|
- GETH_ARCH: amd64
|
2021-06-28 06:53:50 +00:00
|
|
|
GETH_CC: C:\msys64\mingw64\bin\gcc.exe
|
|
|
|
PATH: C:\msys64\mingw64\bin;C:\Program Files (x86)\NSIS\;%PATH%
|
2017-08-04 16:14:17 +00:00
|
|
|
- GETH_ARCH: 386
|
2021-06-28 06:53:50 +00:00
|
|
|
GETH_CC: C:\msys64\mingw32\bin\gcc.exe
|
|
|
|
PATH: C:\msys64\mingw32\bin;C:\Program Files (x86)\NSIS\;%PATH%
|
2017-08-04 16:14:17 +00:00
|
|
|
|
|
|
|
install:
|
2021-06-28 06:53:50 +00:00
|
|
|
- git submodule update --init --depth 1
|
2017-08-04 16:14:17 +00:00
|
|
|
- go version
|
2021-06-28 06:53:50 +00:00
|
|
|
- "%GETH_CC% --version"
|
2017-08-04 16:14:17 +00:00
|
|
|
|
|
|
|
build_script:
|
2021-06-28 06:53:50 +00:00
|
|
|
- go run build\ci.go install -dlgo -arch %GETH_ARCH% -cc %GETH_CC%
|
2017-08-04 16:14:17 +00:00
|
|
|
|
|
|
|
after_build:
|
2021-06-28 06:53:50 +00: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
|
2017-08-04 16:14:17 +00:00
|
|
|
|
|
|
|
test_script:
|
2021-06-28 06:53:50 +00:00
|
|
|
- go run build\ci.go test -dlgo -arch %GETH_ARCH% -cc %GETH_CC% -coverage
|