Skip to content

Commit

Permalink
ci: replace EOL CentOS Stream 8 with Rocky Linux 8
Browse files Browse the repository at this point in the history
  • Loading branch information
sedmicha authored and Lukas955 committed Aug 5, 2024
1 parent 9e0a0b7 commit 85e5e21
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- 'debian:buster'
- 'debian:bullseye'
- 'debian:bookworm'
- 'quay.io/centos/centos:stream8'
- 'rockylinux:8'
- 'oraclelinux:8'
- 'oraclelinux:9'

Expand All @@ -30,8 +30,8 @@ jobs:
apt-get -y install git gcc g++ cmake make libxml2-dev liblz4-dev libzstd-dev
env:
DEBIAN_FRONTEND: noninteractive
- name: Enable EPEL (CentOS)
if: contains(matrix.image, 'centos')
- name: Enable EPEL (Rocky Linux)
if: contains(matrix.image, 'rockylinux')
run: |
yum -y install epel-release
- name: Enable EPEL (Oracle Linux 8)
Expand All @@ -42,8 +42,8 @@ jobs:
if: contains(matrix.image, 'oraclelinux:9')
run: |
dnf -y install oracle-epel-release-el9
- name: Install dependencies (CentOS, Oracle Linux)
if: contains(matrix.image, 'centos') || contains(matrix.image, 'oraclelinux')
- name: Install dependencies (Rocky Linux, Oracle Linux)
if: contains(matrix.image, 'rockylinux') || contains(matrix.image, 'oraclelinux')
run: |
yum -y install git gcc gcc-c++ cmake make libxml2-devel lz4-devel libzstd-devel
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
fail-fast: false
matrix:
image:
- 'quay.io/centos/centos:stream8'
- 'rockylinux:8'
- 'oraclelinux:8'
- 'oraclelinux:9'

Expand All @@ -78,8 +78,8 @@ jobs:
core.exportVariable('ZIP_FILE', zip);
# Dependencies ---------------------------------------------------------------------------
- name: Enable EPEL (CentOS)
if: contains(matrix.image, 'centos')
- name: Enable EPEL (Rocky Linux)
if: contains(matrix.image, 'rockylinux')
run: |
yum -y install epel-release
- name: Enable EPEL (Oracle Linux 8)
Expand All @@ -90,8 +90,8 @@ jobs:
if: contains(matrix.image, 'oraclelinux:9')
run: |
dnf -y install oracle-epel-release-el9
- name: Install dependencies (CentOS, Oracle Linux)
if: contains(matrix.image, 'centos') || contains(matrix.image, 'oraclelinux')
- name: Install dependencies (Rocky Linux, Oracle Linux)
if: contains(matrix.image, 'rockylinux') || contains(matrix.image, 'oraclelinux')
run: |
yum -y install git gcc gcc-c++ cmake make libxml2-devel lz4-devel libzstd-devel rpm-build
Expand Down

0 comments on commit 85e5e21

Please sign in to comment.