File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -6,26 +6,28 @@ clone_depth: 5
6
6
version : " {branch}.{build}"
7
7
environment :
8
8
global :
9
+ # Go stuff
9
10
GOPATH : c:\gopath
10
-
11
- # cache choco package files so we don't hit sourceforge all
12
- # the time.
13
- cache :
14
- - c:\cache
11
+ GO : c:\go\bin\go
12
+ GOROOT : c:\go
13
+ CC : C:\msys64\mingw64\bin\gcc.exe
14
+ # MSYS2 stuff
15
+ MSYS2_ARCH : x86_64
16
+ MSYSTEM : MINGW64
17
+ PATH : C:\msys64\mingw64\bin\;%PATH%
15
18
16
19
install :
17
- - cmd : choco install --cache c:\cache golang mingw | find /v "Extracting "
18
- - refreshenv
19
- - cd c:\gopath\src\github.com\ethereum\go-ethereum
20
+ - " %GO% version"
21
+ - " %CC% --version"
20
22
21
23
build_script :
22
- - go run build\ci.go install
24
+ - " %GO% run build\\ ci.go install"
23
25
24
26
test_script :
25
- - go run build\ci.go test -vet -coverage
27
+ - " %GO% run build\\ ci.go test -vet -coverage"
26
28
27
29
after_build :
28
- - go run build\ci.go archive -type zip
30
+ - " %GO% run build\\ ci.go archive -type zip"
29
31
30
32
artifacts :
31
33
- path : geth-*.zip
You can’t perform that action at this time.
0 commit comments