Skip to content

Commit c3e9173

Browse files
authored
ci: use almalinux instead of centos, add 9 (#4020)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 2ad974c commit c3e9173

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -584,19 +584,25 @@ jobs:
584584
strategy:
585585
fail-fast: false
586586
matrix:
587-
centos:
588-
- centos7 # GCC 4.8
589-
- stream8
587+
container:
588+
- "centos:7" # GCC 4.8
589+
- "almalinux:8"
590+
- "almalinux:9"
590591

591-
name: "🐍 3 • CentOS ${{ matrix.centos }} • x64"
592-
container: "quay.io/centos/centos:${{ matrix.centos }}"
592+
name: "🐍 3 • ${{ matrix.container }} • x64"
593+
container: "${{ matrix.container }}"
593594

594595
steps:
595596
- uses: actions/checkout@v3
596597

597-
- name: Add Python 3
598+
- name: Add Python 3 (RHEL 7)
599+
if: matrix.container == 'centos:7'
598600
run: yum update -y && yum install -y python3-devel gcc-c++ make git
599601

602+
- name: Add Python 3 (RHEL 8+)
603+
if: matrix.container != 'centos:7'
604+
run: dnf update -y && dnf install -y python3-devel gcc-c++ make git
605+
600606
- name: Update pip
601607
run: python3 -m pip install --upgrade pip
602608

0 commit comments

Comments
 (0)