Skip to content

Commit 92959cd

Browse files
committed
appveyor: use native 32bit go
This simplifies the build and should speed it up a bit because the standard library doesn't need to be cross compiled on the 32bit builder.
1 parent 8ed72a8 commit 92959cd

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

appveyor.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,18 @@ environment:
2222

2323
install:
2424
- rmdir C:\go /s /q
25-
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.7.3.windows-amd64.zip
26-
- 7z x go1.7.3.windows-amd64.zip -y -oC:\ > NUL
25+
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.7.3.windows-%GETH_ARCH%.zip
26+
- 7z x go1.7.3.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
2727
- go version
2828
- gcc --version
2929

3030
build_script:
31-
- go run build\ci.go install -arch %GETH_ARCH%
31+
- go run build\ci.go install
3232

3333
after_build:
34-
- go run build\ci.go archive -arch %GETH_ARCH% -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
35-
- go run build\ci.go nsis -arch %GETH_ARCH% -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
34+
- go run build\ci.go archive -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
35+
- go run build\ci.go nsis -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
3636

3737
test_script:
38-
- set GOARCH=%GETH_ARCH%
3938
- set CGO_ENABLED=1
4039
- go run build\ci.go test -vet -coverage

0 commit comments

Comments
 (0)