appveyor.yml 1.0 KB

1234567891011121314151617181920212223242526272829
  1. os: Visual Studio 2019
  2. clone_depth: 5
  3. version: "{branch}.{build}"
  4. environment:
  5. matrix:
  6. # We use gcc from MSYS2 because it is the most recent compiler version available on
  7. # AppVeyor. Note: gcc.exe only works properly if the corresponding bin/ directory is
  8. # contained in PATH.
  9. - GETH_ARCH: amd64
  10. GETH_CC: C:\msys64\mingw64\bin\gcc.exe
  11. PATH: C:\msys64\mingw64\bin;C:\Program Files (x86)\NSIS\;%PATH%
  12. - GETH_ARCH: 386
  13. GETH_CC: C:\msys64\mingw32\bin\gcc.exe
  14. PATH: C:\msys64\mingw32\bin;C:\Program Files (x86)\NSIS\;%PATH%
  15. install:
  16. - git submodule update --init --depth 1
  17. - go version
  18. - "%GETH_CC% --version"
  19. build_script:
  20. - go run build\ci.go install -dlgo -arch %GETH_ARCH% -cc %GETH_CC%
  21. after_build:
  22. - go run build\ci.go archive -arch %GETH_ARCH% -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
  23. - go run build\ci.go nsis -arch %GETH_ARCH% -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
  24. test_script:
  25. - go run build\ci.go test -dlgo -arch %GETH_ARCH% -cc %GETH_CC% -coverage