-
Notifications
You must be signed in to change notification settings - Fork 20
/
.appveyor.yml
40 lines (33 loc) · 1.42 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
version: '{build}'
os: Windows Server 2012
environment:
CYG_MIRROR: http://cygwin.mirror.constant.com
CYG_PACKAGES: make,gcc-core,mingw64-i686-gcc-core,mingw64-x86_64-gcc-core,w32api-headers,libncurses-devel
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}) && CPPFLAGS=-D_WIN32 ./configure --with-diskdefs=/usr/local/share/diskdefs")
- cmd: if defined BASH (%BASH% -lc "cd $(cygpath ${APPVEYOR_BUILD_FOLDER}) && make all && make fsck.test && mkdir -p /usr/local/share /usr/local/share/man/man1 /usr/local/share/man/man5 && make install")
test: false
# artifacts:
# - path: '*.tar.bz2'
# - path: '*.tar.gz'
# - path: '*.tar.xz'
# - path: '*.zip'
cache:
- '%CYG_CACHE%'