-
Notifications
You must be signed in to change notification settings - Fork 15
/
appveyor.yml
31 lines (30 loc) · 956 Bytes
/
appveyor.yml
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
platform: x64
clone_folder: c:\gopath\src\github.com\ellaism\go-ellaism
os: Visual Studio 2015
environment:
GOPATH: c:\gopath
install:
- set PATH=%GOPATH%\bin;c:\go\bin;C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH%
- echo %PATH%
- echo %GOPATH%
- go version
- go env
build_script:
- go test ./...
- if defined APPVEYOR_REPO_TAG_NAME (go build -ldflags "-X main.Version=%APPVEYOR_REPO_TAG_NAME%" ./cmd/geth) else (go build ./cmd/geth)
- 7z a geth-ellaism-win64.zip geth.exe
- ps: Get-FileHash geth-ellaism-win64.zip -Algorithm SHA256
- ps: Get-FileHash geth-ellaism-win64.zip -Algorithm SHA256 | Out-File geth-ellaism-win64.zip.sha256
artifacts:
- path: '*.zip'
name: geth
- path: '*.zip.sha256'
name: geth-sha256
deploy:
artifact: /geth-ellaism-win64\.zip.*/
auth_token:
secure: Or4bHgwveQXAjhl+UM1iRUsy5/zbcrk3lUDFFl0nOUyhyuf5PZuvBaEdR2bRW6nv
draft: true
on:
appveyor_repo_tag: true
provider: GitHub