-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
38 lines (33 loc) · 848 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
32
33
34
35
36
37
38
os: Visual Studio 2017
version: "{build}"
clone_folder: c:\gopath\src\github.com\NiuStar\log
environment:
global:
GOPATH: C:\gopath
matrix:
- GETH_ARCH: amd64
GOARCH: amd64
CGO_ENABLED: 1
MSYS2_ARCH: x86_64
MSYS2_BITS: 64
MSYSTEM: MINGW64
PATH: C:\msys64\mingw64\bin\;C:\Program Files (x86)\NSIS\;%PATH%
- GETH_ARCH: 386
GOARCH: 386
CGO_ENABLED: 1
MSYS2_ARCH: i686
MSYS2_BITS: 32
MSYSTEM: MINGW32
PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH%
install:
- echo %PATH%
- echo %GOPATH%
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- go version
- go env
- gcc --version
- go get github.com/NiuStar/utils
- go get github.com/NiuStar/log
- go get github.com/petermattis/goid
build_script:
- go build -o buildOutput -i ./example