blob: 5524c10ea789eac99157e40b174137c63db0f646 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
version: 2
jobs:
build:
docker:
- image: debian:8
environment:
- _KERL_VSN: R15B03-1
- KERL_CONFIGURE_DISABLE_APPLICATIONS: 'odbc'
steps:
- run: apt-get update && apt-get upgrade -y
- run: apt-get install -y git curl build-essential libncurses-dev libssl-dev
- 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"
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 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
yum -y install git2u
- 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"
workflows:
version: 2
test-workflow:
jobs:
- build
- centos6_20.2
|