mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-24 06:05:10 +00:00
Remove centos:7
job; Change almalinux:8 job to use Python 3.8
This commit is contained in:
parent
79bf08864b
commit
bc723d9de8
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -659,15 +659,13 @@ jobs:
|
|||||||
cmake --build build-17 --target test_cmake_build
|
cmake --build build-17 --target test_cmake_build
|
||||||
|
|
||||||
|
|
||||||
# Testing on CentOS (manylinux uses a centos base, and this is an easy way
|
# Testing on CentOS (manylinux uses a centos base).
|
||||||
# to get GCC 4.8, which is the manylinux1 compiler).
|
|
||||||
centos:
|
centos:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
container:
|
container:
|
||||||
- "centos:7" # GCC 4.8
|
|
||||||
- "almalinux:8"
|
- "almalinux:8"
|
||||||
- "almalinux:9"
|
- "almalinux:9"
|
||||||
|
|
||||||
@ -677,18 +675,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Latest actions/checkout
|
- name: Latest actions/checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
if: matrix.container != 'centos:7'
|
|
||||||
|
|
||||||
- name: Pin actions/checkout as required for centos:7
|
- name: Add Python 3.8
|
||||||
uses: actions/checkout@v3
|
if: matrix.container == 'almalinux:8'
|
||||||
if: matrix.container == 'centos:7'
|
run: dnf update -y && dnf install -y python38-devel gcc-c++ make git
|
||||||
|
|
||||||
- name: Add Python 3 (RHEL 7)
|
- name: Add Python 3 (default)
|
||||||
if: matrix.container == 'centos:7'
|
if: matrix.container != 'almalinux:8'
|
||||||
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
|
run: dnf update -y && dnf install -y python3-devel gcc-c++ make git
|
||||||
|
|
||||||
- name: Update pip
|
- name: Update pip
|
||||||
|
Loading…
Reference in New Issue
Block a user