File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments