Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. fmt:
  2. cargo fmt
  3. clippy:
  4. cargo clippy --release
  5. build:
  6. cargo build --release
  7. test-single: build
  8. ./runtest --clients 1 \
  9. --single unit/other \
  10. --ignore-encoding \
  11. --tags -needs:repl \
  12. --tags -leaks \
  13. --tags -needs:debug \
  14. --tags -needs:save \
  15. --tags -external:skip \
  16. --tags -needs:save \
  17. --tags -consistency \
  18. --tags -cli \
  19. --tags -needs:config-maxmemory
  20. unit-test:
  21. cargo test --release
  22. test: build
  23. ./runtest --clients 5 \
  24. --skipunit unit/dump \
  25. --skipunit unit/auth \
  26. --skipunit unit/protocol \
  27. --skipunit unit/scan \
  28. --skipunit unit/info \
  29. --skipunit unit/type/zset \
  30. --skipunit unit/bitops \
  31. --skipunit unit/type/stream \
  32. --skipunit unit/type/stream-cgroups \
  33. --skipunit unit/sort \
  34. --skipunit unit/aofrw \
  35. --skipunit unit/acl \
  36. --skipunit unit/latency-monitor \
  37. --skipunit unit/slowlog \
  38. --skipunit unit/scripting \
  39. --skipunit unit/introspection \
  40. --skipunit unit/introspection-2 \
  41. --skipunit unit/bitfield \
  42. --skipunit unit/geo \
  43. --skipunit unit/pause \
  44. --skipunit unit/hyperloglog \
  45. --skipunit unit/lazyfree \
  46. --skipunit unit/tracking \
  47. --skipunit unit/querybuf \
  48. --ignore-encoding \
  49. --tags -needs:repl \
  50. --tags -leaks \
  51. --tags -needs:debug \
  52. --tags -needs:save \
  53. --tags -external:skip \
  54. --tags -needs:save \
  55. --tags -consistency \
  56. --tags -cli \
  57. --tags -needs:config-maxmemory
  58. ci: fmt clippy build unit-test test