appveyor.yml 743 B

123456789101112131415161718192021222324
  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. CFLAGS: -m32
  9. CXXFLAGS: -m32
  10. LDFLAGS: -m32
  11. clone_depth: 1
  12. # Attempt to ensure we don't try to convert line endings to Win32 CRLF as this will cause build to fail
  13. init:
  14. - git config --global core.autocrlf input
  15. # Install needed build dependencies
  16. install:
  17. - '%CYG_BASH% -lc "cygcheck -dc cygwin"'
  18. build_script:
  19. - 'echo building...'
  20. - '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; mkdir build && cd build && cmake .. -G \"Unix Makefiles\" && make VERBOSE=1"'