2021-05-04 20:39:09 +00:00
|
|
|
os: Visual Studio 2019
|
2016-05-25 12:07:57 +00:00
|
|
|
clone_depth: 5
|
|
|
|
version: "{branch}.{build}"
|
|
|
|
environment:
|
2016-11-06 21:37:08 +00:00
|
|
|
matrix:
|
2021-05-04 20:39:09 +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.
|
2016-11-06 21:37:08 +00:00
|
|
|
- GETH_ARCH: amd64
|
2021-05-04 20:39:09 +00:00
|
|
|
GETH_CC: C:\msys64\mingw64\bin\gcc.exe
|
|
|
|
PATH: C:\msys64\mingw64\bin;C:\Program Files (x86)\NSIS\;%PATH%
|
2016-11-06 21:37:08 +00:00
|
|
|
- GETH_ARCH: 386
|
2021-05-04 20:39:09 +00:00
|
|
|
GETH_CC: C:\msys64\mingw32\bin\gcc.exe
|
|
|
|
PATH: C:\msys64\mingw32\bin;C:\Program Files (x86)\NSIS\;%PATH%
|
2016-05-25 12:07:57 +00:00
|
|
|
|
|
|
|
install:
|
2021-05-04 20:39:09 +00:00
|
|
|
- git submodule update --init --depth 1
|
2016-11-06 21:37:08 +00:00
|
|
|
- go version
|
2021-05-04 20:39:09 +00:00
|
|
|
- "%GETH_CC% --version"
|
2016-05-25 12:07:57 +00:00
|
|
|
|
|
|
|
build_script:
|
2021-05-04 20:39:09 +00:00
|
|
|
- go run build\ci.go install -dlgo -arch %GETH_ARCH% -cc %GETH_CC%
|
2016-05-25 12:07:57 +00:00
|
|
|
|
|
|
|
after_build:
|
2021-05-04 20:39:09 +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
|
2016-05-25 12:07:57 +00:00
|
|
|
|
2016-11-06 21:37:08 +00:00
|
|
|
test_script:
|
2021-05-04 20:39:09 +00:00
|
|
|
- go run build\ci.go test -dlgo -arch %GETH_ARCH% -cc %GETH_CC% -coverage
|