appveyor.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. os: Visual Studio 2015
  2. # Clone directly into GOPATH.
  3. clone_folder: C:\gopath\src\github.com\ethereum\go-ethereum
  4. clone_depth: 5
  5. version: "{branch}.{build}"
  6. environment:
  7. global:
  8. GO111MODULE: on
  9. GOPATH: C:\gopath
  10. CC: gcc.exe
  11. matrix:
  12. - GETH_ARCH: amd64
  13. MSYS2_ARCH: x86_64
  14. MSYS2_BITS: 64
  15. MSYSTEM: MINGW64
  16. PATH: C:\msys64\mingw64\bin\;C:\Program Files (x86)\NSIS\;%PATH%
  17. - GETH_ARCH: 386
  18. MSYS2_ARCH: i686
  19. MSYS2_BITS: 32
  20. MSYSTEM: MINGW32
  21. PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH%
  22. install:
  23. - git submodule update --init
  24. - rmdir C:\go /s /q
  25. - appveyor DownloadFile https://dl.google.com/go/go1.15.5.windows-%GETH_ARCH%.zip
  26. - 7z x go1.15.5.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
  27. - go version
  28. - gcc --version
  29. build_script:
  30. - go run build\ci.go install -dlgo
  31. after_build:
  32. - go run build\ci.go archive -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
  33. - go run build\ci.go nsis -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
  34. test_script:
  35. - set CGO_ENABLED=1
  36. - go run build\ci.go test -coverage