Makefile 821 B

1234567891011121314151617181920212223242526272829303132333435
  1. # See LICENSE for licensing information.
  2. PROJECT = ranch
  3. # Options.
  4. COMPILE_FIRST = ranch_transport
  5. CT_OPTS += -pa test -ct_hooks ranch_ct_hook []
  6. PLT_APPS = crypto public_key ssl
  7. CI_OTP ?= \
  8. OTP_R16B OTP_R16B01 OTP_R16B02 OTP_R16B03-1 \
  9. OTP-17.1.2 OTP-17.2.2 OTP-17.3.4 OTP-17.4.1 OTP-17.5.6.6 \
  10. OTP-18.0.3 OTP-18.1.5 OTP-18.2.4.1 OTP-18.3.4.4 \
  11. OTP-19.0.7 OTP-19.1.6
  12. CI_HIPE ?= $(lastword $(CI_OTP))
  13. CI_ERLLVM ?= $(CI_HIPE)
  14. # Dependencies.
  15. TEST_DEPS = ct_helper
  16. dep_ct_helper = git https://github.com/ninenines/ct_helper master
  17. # Standard targets.
  18. include erlang.mk
  19. # Also dialyze the tests.
  20. DIALYZER_OPTS += --src -r test
  21. # Use erl_make_certs from the tested release.
  22. ci-setup:: $(DEPS_DIR)/ct_helper
  23. cp ~/.kerl/builds/$(CI_OTP_RELEASE)/otp_src_git/lib/ssl/test/erl_make_certs.erl deps/ct_helper/src/