2016-04-20 14:11:59 +00:00
|
|
|
# Appveyor configuration file for CI build of hiredis on Windows (under Cygwin)
|
2015-08-22 04:58:40 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
2017-04-07 15:39:45 +00:00
|
|
|
- CYG_BASH: C:\cygwin64\bin\bash
|
2015-08-22 04:58:40 +00:00
|
|
|
CC: gcc
|
2017-04-07 15:39:45 +00:00
|
|
|
- CYG_BASH: C:\cygwin\bin\bash
|
2015-08-22 04:58:40 +00:00
|
|
|
CC: gcc
|
2019-01-21 21:32:49 +00:00
|
|
|
CFLAGS: -m32
|
|
|
|
CXXFLAGS: -m32
|
|
|
|
LDFLAGS: -m32
|
2016-04-20 14:11:59 +00:00
|
|
|
|
2015-08-22 04:58:40 +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...'
|
2019-01-21 21:32:49 +00:00
|
|
|
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; mkdir build && cd build && cmake .. -G \"Unix Makefiles\" && make VERBOSE=1"'
|