hiredis/appveyor.yml

24 lines
766 B
YAML
Raw Normal View History

2016-04-20 14:11:59 +00:00
# Appveyor configuration file for CI build of hiredis on Windows (under Cygwin)
environment:
matrix:
2017-04-07 15:39:45 +00:00
- CYG_BASH: C:\cygwin64\bin\bash
CC: gcc
2017-04-07 15:39:45 +00:00
- CYG_BASH: C:\cygwin\bin\bash
CC: gcc
TARGET: 32bit
TARGET_VARS: 32bit-vars
2016-04-20 14:11:59 +00:00
clone_depth: 1
# Attempt to ensure we don't try to convert line endings to Win32 CRLF as this will cause build to fail
init:
- git config --global core.autocrlf input
# Install needed build dependencies
install:
- '%CYG_BASH% -lc "cygcheck -dc cygwin"'
build_script:
- 'echo building...'
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; make LDFLAGS=$LDFLAGS CC=$CC $TARGET CFLAGS=$CFLAGS && make LDFLAGS=$LDFLAGS CC=$CC $TARGET_VARS hiredis-example"'