mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-10-31 08:03:43 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			901 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			901 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| 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;C:\gometalinter-2.0.12-windows-amd64;%PATH%
 | |
| 
 | |
| stack: go 1.11
 | |
| 
 | |
| 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/wclayer
 | |
|   - go build ./cmd/runhcs
 | |
|   - go build ./cmd/tar2ext4
 | |
|   - go test -v ./... -tags admin
 | |
|   - go test -c ./test/functional/ -tags functional
 | |
|   - go test -c ./test/runhcs/ -tags integration
 | |
| 
 | |
| artifacts:
 | |
|   - path: 'wclayer.exe'
 | |
|   - path: 'runhcs.exe'
 | |
|   - path: 'tar2ext4.exe'
 | |
|   - path: 'functional.test.exe'
 | |
|   - path: 'runhcs.test.exe' | 
