appveyor.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. version: 0.1.{build}
  2. image: Visual Studio 2017
  3. clone_folder: c:\gopath\src\github.com\Microsoft\hcsshim
  4. environment:
  5. GOPATH: c:\gopath
  6. PATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%GOPATH%\bin;C:\gometalinter-2.0.12-windows-amd64;%PATH%
  7. stack: go 1.12.2
  8. build_script:
  9. - appveyor DownloadFile https://github.com/alecthomas/gometalinter/releases/download/v2.0.12/gometalinter-2.0.12-windows-amd64.zip
  10. - 7z x gometalinter-2.0.12-windows-amd64.zip -y -oC:\ > NUL
  11. - gometalinter.exe --config .gometalinter.json ./...
  12. - go build ./cmd/containerd-shim-runhcs-v1
  13. - go build ./cmd/runhcs
  14. - go build ./cmd/tar2ext4
  15. - go build ./cmd/wclayer
  16. - go build ./internal/tools/grantvmgroupaccess
  17. - go build ./internal/tools/uvmboot
  18. - go build ./internal/tools/zapdir
  19. - go test -v ./... -tags admin
  20. - go test -c ./test/containerd-shim-runhcs-v1/ -tags functional
  21. - go test -c ./test/cri-containerd/ -tags functional
  22. - go test -c ./test/functional/ -tags functional
  23. - go test -c ./test/runhcs/ -tags functional
  24. artifacts:
  25. - path: 'containerd-shim-runhcs-v1.exe'
  26. - path: 'runhcs.exe'
  27. - path: 'tar2ext4.exe'
  28. - path: 'wclayer.exe'
  29. - path: 'grantvmgroupaccess.exe'
  30. - path: 'uvmboot.exe'
  31. - path: 'zapdir.exe'
  32. - path: 'containerd-shim-runhcs-v1.test.exe'
  33. - path: 'cri-containerd.test.exe'
  34. - path: 'functional.test.exe'
  35. - path: 'runhcs.test.exe'