From 1528bb20104ba44752d443464858013dbb86e1bb Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Tue, 30 Jan 2018 12:55:45 +0100 Subject: ci-centos6: test centos6 + otp/20.2 --- .circleci/config.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 147ba9f..bf150eb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,7 @@ version: 2 jobs: - build: + + debian8_R15B03-1: docker: - image: debian:8 environment: @@ -23,3 +24,27 @@ jobs: kerl_deactivate - run: ./kerl delete installation $(./kerl path install_$_KERL_VSN) - run: ./kerl delete build "$_KERL_VSN" + + centos6_20.2: + docker: + - image: centos:6 + environment: + - _KERL_VSN: 20.2 + - KERL_CONFIGURE_DISABLE_APPLICATIONS: 'odbc' + steps: + - run: yum -y update + - run: yum -y install git curl ncurses-devel openssl-devel make automake autoconf gcc + - checkout + - run: ./kerl update releases + - run: + command: ./kerl build "$_KERL_VSN" "$_KERL_VSN" + no_output_timeout: 45m + - run: ./kerl install "$_KERL_VSN" "install_$_KERL_VSN" + - run: ./kerl status + - run: | + set -x + source $(./kerl path install_$_KERL_VSN)/activate + erl -s crypto -s init stop + kerl_deactivate + - run: ./kerl delete installation $(./kerl path install_$_KERL_VSN) + - run: ./kerl delete build "$_KERL_VSN" -- cgit v1.2.3 From d4982bd142e86db6fceda2876fa1f76e3a5a7c68 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Tue, 30 Jan 2018 13:03:08 +0100 Subject: ci-centos6: use circleci workflows --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bf150eb..c040d97 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2 jobs: - debian8_R15B03-1: + build: docker: - image: debian:8 environment: @@ -48,3 +48,10 @@ jobs: kerl_deactivate - run: ./kerl delete installation $(./kerl path install_$_KERL_VSN) - run: ./kerl delete build "$_KERL_VSN" + +workflows: + version: 2 + test-workflow: + jobs: + - build + - centos6_20.2 -- cgit v1.2.3 From 260c9c88c9fe286f2f543eb5a3b42273e89ed421 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Tue, 30 Jan 2018 13:20:35 +0100 Subject: ci-centos6: upgrade git to >1.7.2 in centos6 for circleci --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c040d97..2de6065 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,7 +33,11 @@ jobs: - KERL_CONFIGURE_DISABLE_APPLICATIONS: 'odbc' steps: - run: yum -y update - - run: yum -y install git curl ncurses-devel openssl-devel make automake autoconf gcc + - run: yum -y install curl ncurses-devel openssl-devel make automake autoconf gcc + - run: | + yum -y install https://centos6.iuscommunity.org/ius-release.rpm + # CircleCI checkout uses -B which isn't available in CentOS6's packaged git + yum -y install git2u - checkout - run: ./kerl update releases - run: -- cgit v1.2.3 From 61f9bc7a8a5f61390b50de4524c30ed93cc7a228 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Tue, 30 Jan 2018 13:39:17 +0100 Subject: ci-centos6: install more compilers for jinterface and orber --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2de6065..5524c10 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,7 +33,7 @@ jobs: - KERL_CONFIGURE_DISABLE_APPLICATIONS: 'odbc' steps: - run: yum -y update - - run: yum -y install curl ncurses-devel openssl-devel make automake autoconf gcc + - run: yum -y install curl ncurses-devel openssl-devel make automake autoconf gcc gcc-c++ gcc-java - run: | yum -y install https://centos6.iuscommunity.org/ius-release.rpm # CircleCI checkout uses -B which isn't available in CentOS6's packaged git -- cgit v1.2.3