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. GOPATH: C:\gopath
  9. CC: gcc.exe
  10. matrix:
  11. - GETH_ARCH: amd64
  12. MSYS2_ARCH: x86_64
  13. MSYS2_BITS: 64
  14. MSYSTEM: MINGW64
  15. PATH: C:\msys64\mingw64\bin\;C:\Program Files (x86)\NSIS\;%PATH%
  16. - GETH_ARCH: 386
  17. MSYS2_ARCH: i686
  18. MSYS2_BITS: 32
  19. MSYSTEM: MINGW32
  20. PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH%
  21. install:
  22. - git submodule update --init
  23. - rmdir C:\go /s /q
  24. - appveyor DownloadFile https://storage.googleapis.com/golang/go1.10.2.windows-%GETH_ARCH%.zip
  25. - 7z x go1.10.2.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
  26. - go version
  27. - gcc --version
  28. build_script:
  29. - go run build\ci.go install
  30. after_build:
  31. - go run build\ci.go archive -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
  32. - go run build\ci.go nsis -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
  33. test_script:
  34. - set CGO_ENABLED=1
  35. - go run build\ci.go test -coverage