Skip to content

Commit aa993d0

Browse files
committed
Support CentOS Stream 8 in CI
Signed-off-by: Stephen Gallagher <[email protected]>
1 parent fee94c2 commit aa993d0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,14 @@ jobs:
232232
fail-fast: false
233233
matrix:
234234
release:
235+
- 8
235236
- 9
236237
compiler:
237238
- gcc
238239
- clang
239240

240241
container:
241-
image: quay.io/centos/centos:stream9-development
242+
image: quay.io/centos/centos:stream${{ matrix.release }}
242243
options: --security-opt seccomp=unconfined
243244

244245
steps:
@@ -249,15 +250,19 @@ jobs:
249250
- name: Checkout SSCG code
250251
uses: actions/checkout@v2
251252

252-
- name: Enable CRB
253+
- name: Enable DNF tools
253254
run: |
254255
yum -y install dnf-plugins-core
256+
257+
- name: Enable CRB
258+
if: matrix.release > 8
259+
run: |
255260
yum config-manager --set-enabled crb
256261
257-
- name: Add OpenSSL 3.0 Beta Repo
258-
working-directory: /etc/yum.repos.d
262+
- name: Enable PowerTools
263+
if: matrix.release == 8
259264
run: |
260-
curl -O https://sgallagh.fedorapeople.org/repo/openssl3b/openssl3b.repo
265+
yum config-manager --set-enabled powertools
261266
262267
- name: Install build dependencies
263268
run: |

0 commit comments

Comments
 (0)