summaryrefslogtreecommitdiff
path: root/vendor/github.com/Microsoft/hcsshim/appveyor.yml
blob: 6617fade0f516ff171ab160be8e364ee204f51d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: 0.1.{build}

image: Visual Studio 2017

clone_folder: c:\gopath\src\github.com\Microsoft\hcsshim

environment:
  GOPATH: c:\gopath
  PATH: "%GOPATH%\\bin;C:\\gometalinter-2.0.12-windows-amd64;%PATH%"

stack: go 1.13.4

build_script:
  - appveyor DownloadFile https://github.com/alecthomas/gometalinter/releases/download/v2.0.12/gometalinter-2.0.12-windows-amd64.zip
  - 7z x gometalinter-2.0.12-windows-amd64.zip -y -oC:\ > NUL
  - gometalinter.exe --config .gometalinter.json ./...
  - go build ./cmd/containerd-shim-runhcs-v1
  - go build ./cmd/runhcs
  - go build ./cmd/tar2ext4
  - go build ./cmd/wclayer
  - go build ./internal/tools/grantvmgroupaccess 
  - go build ./internal/tools/uvmboot
  - go build ./internal/tools/zapdir
  - go test -v ./... -tags admin
  - cd test
  - go test -v ./internal -tags admin
  - go test -c ./containerd-shim-runhcs-v1/ -tags functional
  - go test -c ./cri-containerd/ -tags functional
  - go test -c ./functional/ -tags functional
  - go test -c ./runhcs/ -tags functional

artifacts:
  - path: 'containerd-shim-runhcs-v1.exe'
  - path: 'runhcs.exe'
  - path: 'tar2ext4.exe'
  - path: 'wclayer.exe'
  - path: 'grantvmgroupaccess.exe'  
  - path: 'uvmboot.exe'
  - path: 'zapdir.exe'
  - path: './test/containerd-shim-runhcs-v1.test.exe'
  - path: './test/cri-containerd.test.exe'
  - path: './test/functional.test.exe'
  - path: './test/runhcs.test.exe'