-
Notifications
You must be signed in to change notification settings - Fork 94
/
appveyor.yml
42 lines (36 loc) · 967 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
39
40
41
42
version: 1.0.{build}
branches:
except:
- ruby-2.x
- onig-5.9.x-mod
- onig-5.9.x-mod_for_bregonig-v2
environment:
matrix:
- ARCH: x64
PYOPT: -3
- ARCH: x86
PYOPT: -3.4-32
install:
- cmd: |-
rem Check environments.
rem path
rem dir C:\
rem dir "C:\Program Files"
rem dir "C:\Program Files\Microsoft SDKs\Windows"
rem dir "C:\Program Files (x86)"
rem dir "C:\Program Files (x86)\Windows Kits"
rem Using Windows SDK 7.1 (VC10)
rem "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /%ARCH% /release
rem Using VC12
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %ARCH%
path
build_script:
- cmd: |-
nmake -f win32\Makefile
dir build_%ARCH%\onigmo.dll
\msys64\usr\bin\file build_%ARCH%\onigmo.dll
test_script:
- cmd: |-
py %PYOPT% -c "import locale; print(locale.getpreferredencoding())"
nmake -f win32\Makefile test
# vim: ts=2 sw=2 sts=2 et