Skip to content

Commit 76df467

Browse files
committed
CI: introduce support for Oracle Linux 9
1 parent f0fae57 commit 76df467

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- 'centos:7'
1818
- 'quay.io/centos/centos:stream8'
1919
- 'oraclelinux:8'
20+
- 'oraclelinux:9'
2021

2122
name: Build on ${{ matrix.image }}
2223
container: ${{ matrix.image }}
@@ -34,10 +35,14 @@ jobs:
3435
if: contains(matrix.image, 'centos')
3536
run: |
3637
yum -y install epel-release
37-
- name: Enable EPEL (Oracle Linxu)
38-
if: contains(matrix.image, 'oraclelinux')
38+
- name: Enable EPEL (Oracle Linux 8)
39+
if: contains(matrix.image, 'oraclelinux:8')
3940
run: |
4041
dnf -y install oracle-epel-release-el8
42+
- name: Enable EPEL (Oracle Linux 9)
43+
if: contains(matrix.image, 'oraclelinux:9')
44+
run: |
45+
dnf -y install oracle-epel-release-el9
4146
- name: Install dependencies (CentOS, Oracle Linux)
4247
if: contains(matrix.image, 'centos') || contains(matrix.image, 'oraclelinux')
4348
run: |

.github/workflows/package.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
- 'centos:7'
6363
- 'quay.io/centos/centos:stream8'
6464
- 'oraclelinux:8'
65+
- 'oraclelinux:9'
6566

6667
name: Build RPMs on ${{ matrix.image }}
6768
container: ${{ matrix.image }}
@@ -82,10 +83,14 @@ jobs:
8283
if: contains(matrix.image, 'centos')
8384
run: |
8485
yum -y install epel-release
85-
- name: Enable EPEL (Oracle Linxu)
86-
if: contains(matrix.image, 'oraclelinux')
86+
- name: Enable EPEL (Oracle Linux 8)
87+
if: contains(matrix.image, 'oraclelinux:8')
8788
run: |
8889
dnf -y install oracle-epel-release-el8
90+
- name: Enable EPEL (Oracle Linux 9)
91+
if: contains(matrix.image, 'oraclelinux:9')
92+
run: |
93+
dnf -y install oracle-epel-release-el9
8994
- name: Install dependencies (CentOS, Oracle Linux)
9095
if: contains(matrix.image, 'centos') || contains(matrix.image, 'oraclelinux')
9196
run: |

0 commit comments

Comments
 (0)