-
Notifications
You must be signed in to change notification settings - Fork 267
/
.appveyor.yml
95 lines (76 loc) · 1.93 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: 0.4.0.{build}
branches:
only:
- master
- travis
image:
- Visual Studio 2015
environment:
matrix:
- TARGET: Go 1.12.0
ARCH: 64
ARCHGO:
VERGO: 112
MGWVER: x86_64-7.2.0-posix-seh-rt_v5-rev1
- TARGET: Go 1.12.0
ARCH: 32
ARCHGO: -x86
VERGO: 112
MGWVER: i686-6.3.0-posix-dwarf-rt_v5-rev1
- TARGET: Go 1.13.0
ARCH: 64
ARCHGO:
VERGO: 113
MGWVER: x86_64-7.2.0-posix-seh-rt_v5-rev1
- TARGET: Go 1.13.0
ARCH: 32
ARCHGO: -x86
VERGO: 113
MGWVER: i686-6.3.0-posix-dwarf-rt_v5-rev1
- TARGET: Go 1.14.0
ARCH: 64
ARCHGO:
VERGO: 113
MGWVER: x86_64-7.2.0-posix-seh-rt_v5-rev1
- TARGET: Go 1.14.0
ARCH: 32
ARCHGO: -x86
VERGO: 113
MGWVER: i686-6.3.0-posix-dwarf-rt_v5-rev1
- TARGET: Go 1.15.0
ARCH: 64
ARCHGO:
VERGO: 113
MGWVER: x86_64-7.2.0-posix-seh-rt_v5-rev1
- TARGET: Go 1.15.0
ARCH: 32
ARCHGO: -x86
VERGO: 113
MGWVER: i686-6.3.0-posix-dwarf-rt_v5-rev1
install:
- cmd: echo Testing sciter%ARCH% with %TARGET%.
- cmd: echo Current directory is %APPVEYOR_BUILD_FOLDER%
- cmd: set PATH=C:\projects\deps;C:\go%VERGO%%ARCHGO%\bin;C:\mingw-w64\%MGWVER%\mingw%ARCH%\bin;%PATH%
- gcc --version
- go version
- mkdir C:\projects\deps
- curl -so "C:\projects\deps\sciter.dll" "https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x%ARCH%/sciter.dll"
before_build:
- cmd: set GOROOT=C:\go%VERGO%%ARCHGO%
- cmd: set GOPATH=C:\projects\gopath
- cmd: set PATH=%GOPATH%\bin;%PATH%
- cmd: mkdir %GOPATH%
- go env
- go get -u github.com/lxn/win
- go get -u github.com/GeertJohan/go.rice
- go get -u github.com/GeertJohan/go.rice/rice
- go get -u github.com/kardianos/osext
build_script:
- cmd: echo Building library
- cmd: cd
- go build -x
- go get github.com/sciter-sdk/go-sciter
- cmd: echo Building examples
- cmd: cd examples
- cmd: go build ./...
test: off