k3s/vendor/github.com/Microsoft/hcsshim/appveyor.yml

28 lines
796 B
YAML
Raw Normal View History

2019-01-12 04:58:27 +00:00
version: 0.1.{build}
image: Visual Studio 2017
clone_folder: c:\gopath\src\github.com\Microsoft\hcsshim
environment:
GOPATH: c:\gopath
PATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%GOPATH%\bin;%PATH%
build_script:
- go get -u github.com/alecthomas/gometalinter
- gometalinter.exe --install
- gometalinter.exe --config .gometalinter.json ./...
- go get -v -d -t -tags "functional integration admin" ./...
- go build ./cmd/wclayer
- go build ./cmd/runhcs
- go test -c ./pkg/go-runhcs/ -tags integration
- go build ./cmd/tar2ext4
- go test -v ./... -tags admin
- go test -c ./functional/ -tags functional
artifacts:
- path: 'wclayer.exe'
- path: 'runhcs.exe'
- path: 'go-runhcs.test.exe'
- path: 'tar2ext4.exe'
- path: 'functional.test.exe'