forked from rana/ora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
46 lines (35 loc) · 1.05 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
version: 1.0.{build}
platform: x64
branches:
only:
- v4
clone_depth: 1
build:
verbosity: detailed
clone_folder: c:\gopath\src\golang.org\rana\ora.v4
environment:
GOPATH: c:\gopath
install:
- echo %PATH%
- echo %GOPATH%
- go version
- go env
- curl -sS -o c:\gopath\instantclient-sdk-windows.zip https://s3.amazonaws.com/tgulacsi-oracle-instantclient/instantclient-sdk-windows.x64-12.1.0.2.0.zip
- 7z x -oc:\ c:\gopath\instantclient-sdk-windows.zip
- curl -sS -o c:\gopath\instantclient-basiclite-windows.zip https://s3.amazonaws.com/tgulacsi-oracle-instantclient/instantclient-basiclite-windows.x64-12.1.0.2.0.zip
- 7z x -oc:\ c:\gopath\instantclient-basiclite-windows.zip
- go get -v -t ./...
build_script:
- go install -v .
artifacts:
- path: c:\gopath\pkg\windows_amd64\gopkg.in\rana\ora.v4
name: binary
deploy:
release: ora.v4-$(appveyor_build_version)
description: 'Release of precompiled windows binaries'
provider: GitHub
artifact: binary
draft: true
on:
branch: v4
# vim: set filetype=yaml et shiftwidth=2: