-
Notifications
You must be signed in to change notification settings - Fork 3
/
.appveyor.yml
41 lines (34 loc) · 1.48 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
version: '{build}'
os: Windows Server 2012
environment:
CYG_MIRROR: http://cygwin.mirror.constant.com
CYG_PACKAGES: autoconf,automake,libtool,zip,make,gcc-core,perl,mingw64-i686-gcc-core,mingw64-x86_64-gcc-core,zlib-devel,libbz2-devel,sharutils
matrix:
- CYG_ROOT: C:\cygwin
CYG_CACHE: C:\cygwin\var\cache\setup
CYG_SETUP: setup-x86.exe
BASH: C:\cygwin\bin\bash
CC: gcc
- CYG_ROOT: C:\cygwin64
CYG_CACHE: C:\cygwin64\var\cache\setup
CYG_SETUP: setup-x86_64.exe
BASH: C:\cygwin64\bin\bash
CC: gcc
install:
- ps: if (Test-Path Env:\CYG_ROOT) { Start-FileDownload "https://cygwin.com/$env:CYG_SETUP" -FileName "$env:CYG_SETUP" }
- cmd: if defined CYG_ROOT (%CYG_SETUP% --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages "%CYG_PACKAGES%" --upgrade-also)
# - cmd: if defined CYG_ROOT (cygcheck -drs)
init:
- git config --global core.autocrlf input
build_script:
- cmd: if defined BASH (%BASH% -lc "cd $(cygpath ${APPVEYOR_BUILD_FOLDER}) && autoreconf --verbose --install")
- cmd: if defined BASH (%BASH% -lc "cd $(cygpath ${APPVEYOR_BUILD_FOLDER}) && ./configure --with-zlib --with-bzlib")
- cmd: if defined BASH (%BASH% -lc "cd $(cygpath ${APPVEYOR_BUILD_FOLDER}) && make all && make distcheck && make dist-bzip2 && make dist-xz && make dist-zip")
test: false
artifacts:
- path: '*.tar.bz2'
- path: '*.tar.gz'
- path: '*.tar.xz'
- path: '*.zip'
cache:
- '%CYG_CACHE%'