Skip to content

Commit ce8025e

Browse files
committed
Cleanup dependencies. Try centos7 with gcc 11
1 parent f44f342 commit ce8025e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
- name: Install CentOS 8 Deps
102102
if: startsWith(matrix.container, 'centos:8')
103103
run: |
104-
yum -y install epel-release dnf-plugins-core sudo
104+
yum -y install epel-release dnf-plugins-core
105105
yum config-manager --set-enabled powertools
106106
- uses: actions/checkout@v2
107107
- name: Setup Compiler
@@ -129,7 +129,7 @@ jobs:
129129
- name: Install CentOS 8 Deps
130130
if: startsWith(matrix.container, 'centos:8')
131131
run: |
132-
yum -y install epel-release dnf-plugins-core sudo
132+
yum -y install epel-release dnf-plugins-core
133133
yum config-manager --set-enabled powertools
134134
- uses: actions/checkout@v2
135135
- name: Setup Compiler
@@ -155,7 +155,7 @@ jobs:
155155
- uses: actions/checkout@v2
156156
- name: Setup Compiler
157157
run: |
158-
yum -y install epel-release dnf-plugins-core sudo
158+
yum -y install epel-release dnf-plugins-core
159159
yum config-manager --set-enabled powertools
160160
yum -y install gcc-toolset-${{ matrix.version }}-gcc-c++
161161
source /opt/rh/gcc-toolset-${{ matrix.version }}/enable
@@ -172,16 +172,14 @@ jobs:
172172
strategy:
173173
matrix:
174174
container: [ "centos:7" ]
175-
version: [ "9", "10" ]
175+
version: [ "11" ]
176176
steps:
177177
- uses: actions/checkout@v2
178178
- name: Setup Compiler
179179
run: |
180-
yum -y install centos-release-scl epel-release sudo
180+
yum -y install centos-release-scl epel-release
181181
yum -y install devtoolset-${{ matrix.version }}
182182
source /opt/rh/devtoolset-${{ matrix.version }}/enable
183-
echo "CC=gcc-${{ matrix.version }}" >> $GITHUB_ENV
184-
echo "CXX=g++-${{ matrix.version }}" >> $GITHUB_ENV
185183
- name: Install and Test
186184
run: (source /opt/rh/devtoolset-${{ matrix.version }}/enable && ./install.sh && make tests)
187185

0 commit comments

Comments
 (0)