@@ -19,22 +19,18 @@ jobs:
19
19
matrix :
20
20
source :
21
21
- runtime/cpp
22
- - codegen/cpp/fletchgen
23
22
steps :
24
23
- name : Install dependencies
25
24
run : |
26
- yum install -y epel-release centos-release-scl https://repo.ius.io/ius-release-el7.rpm
27
- yum install -y curl make devtoolset-7-gcc-c++ rpm-build git224
28
- echo "/opt/rh/devtoolset-7/root/bin/" >> $GITHUB_PATH
25
+ yum install -y epel-release
26
+ yum install -y curl make gcc-c++ rpm-build git
29
27
- name : Install CMake
30
28
run : curl -L https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-Linux-x86_64.tar.gz | tar xz --strip-components=1 -C /usr
31
29
- name : Install Apache Arrow
32
30
run : |
33
31
yum install -y https://apache.bintray.com/arrow/centos/$(cut -d: -f5 /etc/system-release-cpe)/apache-arrow-release-latest.rpm
34
32
yum install -y arrow-devel-$ARROW_VERSION-1.el7
35
33
- uses : actions/checkout@v2
36
- with :
37
- submodules : true
38
34
- name : Configure
39
35
run : cmake ${{ matrix.source }} -DCMAKE_BUILD_TYPE=Release
40
36
- name : Package
@@ -65,35 +61,37 @@ jobs:
65
61
source :
66
62
- runtime/cpp
67
63
- codegen/cpp/fletchgen
64
+ exclude :
65
+ - version : 7
66
+ source : codegen/cpp/fletchgen
68
67
container : centos:${{ matrix.version }}
69
68
steps :
70
69
- name : Install dependencies
71
70
run : |
72
71
yum install -y epel-release
73
- yum install -y curl make rpm-build
72
+ yum install -y curl make rpm-build gcc-c++ git
74
73
- name : Install CMake
75
74
run : curl -L https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-Linux-x86_64.tar.gz | tar xz --strip-components=1 -C /usr
76
75
- name : Install Apache Arrow
77
76
if : ${{ matrix.version == '7' }}
78
77
run : |
79
- yum install -y https://repo.ius.io/ius-release-el7.rpm centos-release-scl
80
- yum install -y git224 devtoolset-7-gcc-c++
81
- echo "/opt/rh/devtoolset-7/root/bin/" >> $GITHUB_PATH
82
78
yum install -y https://apache.bintray.com/arrow/centos/$(cut -d: -f5 /etc/system-release-cpe)/apache-arrow-release-latest.rpm
83
79
yum install -y arrow-devel-$ARROW_VERSION-1.el${{ matrix.version }}
84
80
- name : Install Apache Arrow
85
81
if : ${{ matrix.version == '8' }}
86
82
run : |
87
- dnf install -y git gcc-c++
88
83
dnf install -y https://apache.bintray.com/arrow/centos/$(cut -d: -f5 /etc/system-release-cpe | cut -d. -f1)/apache-arrow-release-latest.rpm
89
84
dnf config-manager --set-enabled epel || :
90
85
dnf config-manager --set-enabled powertools || :
91
86
dnf config-manager --set-enabled codeready-builder-for-rhel-$(cut -d: -f5 /etc/system-release-cpe | cut -d. -f1)-rhui-rpms || :
92
87
subscription-manager repos --enable codeready-builder-for-rhel-$(cut -d: -f5 /etc/system-release-cpe | cut -d. -f1)-$(arch)-rpms || :
93
88
dnf install -y arrow-devel-$ARROW_VERSION-1.el${{ matrix.version }}
94
89
- uses : actions/checkout@v2
90
+ if : ${{ matrix.source == 'codegen/cpp/fletchgen' }}
95
91
with :
96
92
submodules : true
93
+ - uses : actions/checkout@v2
94
+ if : ${{ matrix.source != 'codegen/cpp/fletchgen' }}
97
95
- name : Configure
98
96
run : cmake ${{ matrix.source }} -DCMAKE_BUILD_TYPE=Release
99
97
- name : Package
0 commit comments