mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
ci: move centos 8 to stream (#3675)
This commit is contained in:
parent
ce18721d83
commit
21e10945a0
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -600,11 +600,11 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
centos:
|
centos:
|
||||||
- 7 # GCC 4.8
|
- centos7 # GCC 4.8
|
||||||
- 8
|
- stream8
|
||||||
|
|
||||||
name: "🐍 3 • CentOS ${{ matrix.centos }} • x64"
|
name: "🐍 3 • CentOS ${{ matrix.centos }} • x64"
|
||||||
container: "centos:${{ matrix.centos }}"
|
container: "quay.io/centos/centos:${{ matrix.centos }}"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -619,22 +619,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python3 -m pip install cmake -r tests/requirements.txt
|
python3 -m pip install cmake -r tests/requirements.txt
|
||||||
|
|
||||||
- name: VAR_BUILD_TYPE 7
|
|
||||||
if: matrix.centos == 7
|
|
||||||
run: echo MinSizeRel > VAR_BUILD_TYPE
|
|
||||||
|
|
||||||
# Using Release to avoid segfault that appeared around 2021-06-04,
|
|
||||||
# apparently when the gcc version changed from 8.3 to 8.4.
|
|
||||||
- name: VAR_BUILD_TYPE 8
|
|
||||||
if: matrix.centos == 8
|
|
||||||
run: echo Release > VAR_BUILD_TYPE
|
|
||||||
|
|
||||||
# Temporally disabling EIGEN due to SSL issue in CentOS 7
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
shell: bash
|
shell: bash
|
||||||
run: >
|
run: >
|
||||||
cmake -S . -B build
|
cmake -S . -B build
|
||||||
-DCMAKE_BUILD_TYPE=$(cat VAR_BUILD_TYPE)
|
-DCMAKE_BUILD_TYPE=MinSizeRel
|
||||||
-DPYBIND11_WERROR=ON
|
-DPYBIND11_WERROR=ON
|
||||||
-DDOWNLOAD_CATCH=ON
|
-DDOWNLOAD_CATCH=ON
|
||||||
-DDOWNLOAD_EIGEN=ON
|
-DDOWNLOAD_EIGEN=ON
|
||||||
|
Loading…
Reference in New Issue
Block a user