From 56dc5673d06e523a69c5b8b830f4d5462580e772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 12 Nov 2017 22:31:02 +0100 Subject: Use my new ci.erlang.mk plugin Instead of tracking Erlang/OTP versions manually in each project, I can just say OTP-19+ and let the plugin fill in the most recent patch releases for each version. In addition I will configure the CI commands to cleanup unneeded versions automatically. --- Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6ea0e18..4d6cf27 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,6 @@ COMPILE_FIRST = cowboy_middleware cowboy_stream cowboy_sub_protocol PLT_APPS = public_key ssl CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl -CI_OTP ?= OTP-19.0.7 OTP-19.1.6 OTP-19.2.3 OTP-19.3.6.3 OTP-20.0.5 OTP-20.1.4 -CI_HIPE ?= $(lastword $(CI_OTP)) -# CI_ERLLVM ?= $(CI_HIPE) - # Dependencies. LOCAL_DEPS = crypto @@ -29,6 +25,16 @@ TEST_DEPS = ct_helper gun dep_ct_helper = git https://github.com/extend/ct_helper master dep_gun = git https://github.com/ninenines/gun master +# CI configuration. + +BUILD_DEPS = ci.erlang.mk +dep_ci.erlang.mk = git https://github.com/ninenines/ci.erlang.mk master +DEP_EARLY_PLUGINS = ci.erlang.mk + +AUTO_CI_OTP ?= OTP-19+ +AUTO_CI_HIPE ?= OTP-LATEST +# AUTO_CI_ERLLVM ?= OTP-LATEST + # Standard targets. include erlang.mk -- cgit v1.2.3