appveyor.yml 733 B

1234567891011121314151617181920212223242526272829303132333435
  1. version: "{build}"
  2. image: Visual Studio 2019
  3. # scripts that are called at very beginning, before repo cloning
  4. init:
  5. - git config --global core.autocrlf true
  6. clone_folder: c:\gopath\src\github.com\CloudyKit\jet
  7. environment:
  8. GOPATH: c:\gopath
  9. GO111MODULE: on
  10. matrix:
  11. - GOVERSION: 113
  12. - GOVERSION: 114
  13. - GOVERSION: 115
  14. install:
  15. - set PATH=%GOPATH%\bin;c:\go%GOVERSION%\bin;%PATH%
  16. - set GOROOT=c:\go%GOVERSION%
  17. - echo %PATH%
  18. - echo %GOPATH%
  19. - go version
  20. - go env
  21. build: off
  22. test_script:
  23. - go test -v ./...
  24. - cd examples/asset_packaging/
  25. - go generate
  26. - go run -tags=deploy_build main.go --run-and-exit
  27. - go build -tags=deploy_build -o bin/app.exe main.go
  28. - .\bin\app.exe --run-and-exit