mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-02-04 14:33:21 +08:00
ci: use almalinux instead of centos, add 9 (#4020)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
parent
2ad974c945
commit
c3e9173f0f
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -584,19 +584,25 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
centos:
|
container:
|
||||||
- centos7 # GCC 4.8
|
- "centos:7" # GCC 4.8
|
||||||
- stream8
|
- "almalinux:8"
|
||||||
|
- "almalinux:9"
|
||||||
|
|
||||||
name: "🐍 3 • CentOS ${{ matrix.centos }} • x64"
|
name: "🐍 3 • ${{ matrix.container }} • x64"
|
||||||
container: "quay.io/centos/centos:${{ matrix.centos }}"
|
container: "${{ matrix.container }}"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Add Python 3
|
- name: Add Python 3 (RHEL 7)
|
||||||
|
if: matrix.container == 'centos:7'
|
||||||
run: yum update -y && yum install -y python3-devel gcc-c++ make git
|
run: yum update -y && yum install -y python3-devel gcc-c++ make git
|
||||||
|
|
||||||
|
- name: Add Python 3 (RHEL 8+)
|
||||||
|
if: matrix.container != 'centos:7'
|
||||||
|
run: dnf update -y && dnf install -y python3-devel gcc-c++ make git
|
||||||
|
|
||||||
- name: Update pip
|
- name: Update pip
|
||||||
run: python3 -m pip install --upgrade pip
|
run: python3 -m pip install --upgrade pip
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user