Commit 21e10945 by Henry Schreiner Committed by GitHub

ci: move centos 8 to stream (#3675)

parent ce18721d
...@@ -600,11 +600,11 @@ jobs: ...@@ -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: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment