-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
35 lines (31 loc) · 911 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
version: 1.0.{build}
environment:
matrix:
- ARCH: x64
PYOPT: -3
- ARCH: x86
PYOPT: -3.4-32
build_script:
- cmd: |-
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /%ARCH% /release
git clone -q --branch=bregonig --depth 1 https://github.com/k-takata/Onigmo.git ..\onigmo
cd ..\onigmo
nmake -f win32\Makefile lib
cd %APPVEYOR_BUILD_FOLDER%\src
nmake ONIG_DIR=..\..\onigmo
dir obj%ARCH%\*.dll
\msys64\usr\bin\file obj%ARCH%/*.dll
test_script:
- cmd: |-
copy obj%ARCH%\bregonig.dll python
cd python
py %PYOPT% test_crnl.py SJIS
py %PYOPT% test_crnl.py UTF-8
py %PYOPT% test_crnl.py UTF-16LE
py %PYOPT% test_match.py SJIS
py %PYOPT% test_match.py UTF-8
py %PYOPT% test_match.py UTF-16LE
py %PYOPT% test_subst.py SJIS
py %PYOPT% test_subst.py UTF-8
py %PYOPT% test_subst.py UTF-16LE
# vim: ts=2 sw=2 sts=2 et