forked from martanne/vis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
43 lines (33 loc) · 1.1 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
environment:
global:
CYG_MIRROR: http://cygwin.mirror.constant.com
matrix:
- CYG_ARCH: cygwin
CYG_ROOT: C:\cygwin
CYG_SETUP: C:\cygwin\setup-x86.exe
- CYG_ARCH: cygwin64
CYG_ROOT: C:\cygwin64
CYG_SETUP: C:\cygwin64\setup-x86_64.exe
clone_depth: 1
init:
# do not convert new lines to CRLF
- git config --global core.autocrlf input
# print processor and OS architecture
- wmic computersystem get systemtype
- wmic OS get OSArchitecture
cache:
- '%APPVEYOR_BUILD_FOLDER%\dependency\sources'
- '%CYG_ROOT%\var\cache\setup'
install:
- '%CYG_SETUP% --quiet-mode --no-shortcuts --packages patch,lua,lua-devel,lua-lpeg,libncurses-devel'
- '%CYG_ROOT%\bin\cygcheck --check-setup --dump-only'
before_build:
- '%CYG_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && make clean"'
build_script:
- '%CYG_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && make local && file vis"'
test_script:
- '%CYG_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && make test"'
after_test:
- 7z a -y vis-%CYG_ARCH%.zip vis.exe lexers *.lua
artifacts:
- path: vis-%CYG_ARCH%.zip