Skip to content

Commit

Permalink
Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Dec 26, 2019
1 parent 876237c commit 05aa9b3
Showing 1 changed file with 49 additions and 8 deletions.
57 changes: 49 additions & 8 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,47 @@ clone_depth: 5

version: 1.5.17+build.{build}

image:
- MinGW
- Visual Studio 2015
cache:
- C:\cygwin-setup-cache
- C:\cygwin64-setup-cache

platform:
- Win32
- x64

environment:
matrix:
- configuration: Release
- configuration: Release Lib
- compiler: Cygwin
configuration: Release
build_with: autoconf
- compiler: MinGW
configuration: Release
build_with: autoconf
- compiler: MSVC
configuration: Release
build_with: msbuild
- compiler: MSVC
configuration: Release Lib
build_with: msbuild

matrix:
exclude:
- image: MinGW
- compiler: Cygwin
build_with: msbuild
- compiler: Cygwin
configuration: Release Lib
- compiler: MinGW
build_with: msbuild
- compiler: MinGW
configuration: Release Lib
- compiler: MSVC
configuration: autoconf

for:
-
matrix:
only:
- image: Visual Studio 2015
- compiler: MSVC

before_build:
- ps: >-
Expand Down Expand Up @@ -62,7 +80,30 @@ for:
-
matrix:
only:
- image: MinGW
- compiler: Cygwin

install:
- ps: Invoke-WebRequest https://cygwin.com/setup-x86.exe -OutFile C:\cygwin-setup-x86.exe
- ps: Invoke-WebRequest https://cygwin.com/setup-x86_64.exe -OutFile C:\cygwin-setup-x86_x64.exe
# Win32
- if "%platform%"=="Win32" set PATH=C:\cygwin\bin;%PATH%
- if "%platform%"=="Win32" C:\cygwin-setup-x86.exe --quiet-mode --no-shortcuts --no-startmenu --no-desktop --upgrade-also --only-site --site http://cygwin.mirror.constant.com/ --root C:\cygwin --local-package-dir C:\cygwin-setup-cache --packages libhdf5-devel, libminizip1, zlib, zlib-devel
# x64
- if "%platform%"=="x64" set PATH=C:\cygwin64\bin;%PATH%
- if "%platform%"=="x64" C:\cygwin-setup-x86_x64.exe --quiet-mode --no-shortcuts --no-startmenu --no-desktop --upgrade-also --only-site --site http://cygwin.mirror.constant.com/ --root C:\cygwin64 --local-package-dir C:\cygwin64-setup-cache --packages libhdf5-devel, libminizip1, zlib, zlib-devel

before_build:
- git submodule update --init
- sh -lc "cd $APPVEYOR_BUILD_FOLDER; ./autogen.sh < /dev/null" autogen.sh
- sh -lc "cd $APPVEYOR_BUILD_FOLDER; ./configure < /dev/null" configure

build_script:
- make check

-
matrix:
only:
- compiler: MinGW

install:
# Win32
Expand Down

0 comments on commit 05aa9b3

Please sign in to comment.