ci.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. name: CI
  2. on: [push, pull_request]
  3. jobs:
  4. test-ubuntu-latest:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: make
  9. # Fail build if there are warnings
  10. # build with TLS just for compilation coverage
  11. run: make REDIS_CFLAGS='-Werror' BUILD_TLS=yes
  12. - name: test
  13. run: |
  14. sudo apt-get install tcl8.6 tclx
  15. ./runtest --verbose --tags -slow
  16. - name: module api test
  17. run: ./runtest-moduleapi --verbose
  18. build-debian-old:
  19. runs-on: ubuntu-latest
  20. container: debian:oldoldstable
  21. steps:
  22. - uses: actions/checkout@v2
  23. - name: make
  24. run: |
  25. apt-get update && apt-get install -y build-essential
  26. make REDIS_CFLAGS='-Werror'
  27. build-macos-latest:
  28. runs-on: macos-latest
  29. steps:
  30. - uses: actions/checkout@v2
  31. - name: make
  32. run: make REDIS_CFLAGS='-Werror'
  33. build-32bit:
  34. runs-on: ubuntu-latest
  35. steps:
  36. - uses: actions/checkout@v2
  37. - name: make
  38. run: |
  39. sudo apt-get update && sudo apt-get install libc6-dev-i386
  40. make REDIS_CFLAGS='-Werror' 32bit
  41. build-libc-malloc:
  42. runs-on: ubuntu-latest
  43. steps:
  44. - uses: actions/checkout@v2
  45. - name: make
  46. run: make REDIS_CFLAGS='-Werror' MALLOC=libc
  47. build-centos7-jemalloc:
  48. runs-on: ubuntu-latest
  49. container: centos:7
  50. steps:
  51. - uses: actions/checkout@v2
  52. - name: make
  53. run: |
  54. yum -y install gcc make
  55. make REDIS_CFLAGS='-Werror'