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