appveyor.yml 766 B

1234567891011121314151617181920212223
  1. # Appveyor configuration file for CI build of hiredis on Windows (under Cygwin)
  2. environment:
  3. matrix:
  4. - CYG_BASH: C:\cygwin64\bin\bash
  5. CC: gcc
  6. - CYG_BASH: C:\cygwin\bin\bash
  7. CC: gcc
  8. TARGET: 32bit
  9. TARGET_VARS: 32bit-vars
  10. clone_depth: 1
  11. # Attempt to ensure we don't try to convert line endings to Win32 CRLF as this will cause build to fail
  12. init:
  13. - git config --global core.autocrlf input
  14. # Install needed build dependencies
  15. install:
  16. - '%CYG_BASH% -lc "cygcheck -dc cygwin"'
  17. build_script:
  18. - 'echo building...'
  19. - '%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"'