Skip to content

Commit 21e1094

Browse files
authored
ci: move centos 8 to stream (#3675)
1 parent ce18721 commit 21e1094

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -600,11 +600,11 @@ jobs:
600600
fail-fast: false
601601
matrix:
602602
centos:
603-
- 7 # GCC 4.8
604-
- 8
603+
- centos7 # GCC 4.8
604+
- stream8
605605

606606
name: "🐍 3 • CentOS ${{ matrix.centos }} • x64"
607-
container: "centos:${{ matrix.centos }}"
607+
container: "quay.io/centos/centos:${{ matrix.centos }}"
608608

609609
steps:
610610
- uses: actions/checkout@v2
@@ -619,22 +619,11 @@ jobs:
619619
run: |
620620
python3 -m pip install cmake -r tests/requirements.txt
621621
622-
- name: VAR_BUILD_TYPE 7
623-
if: matrix.centos == 7
624-
run: echo MinSizeRel > VAR_BUILD_TYPE
625-
626-
# Using Release to avoid segfault that appeared around 2021-06-04,
627-
# apparently when the gcc version changed from 8.3 to 8.4.
628-
- name: VAR_BUILD_TYPE 8
629-
if: matrix.centos == 8
630-
run: echo Release > VAR_BUILD_TYPE
631-
632-
# Temporally disabling EIGEN due to SSL issue in CentOS 7
633622
- name: Configure
634623
shell: bash
635624
run: >
636625
cmake -S . -B build
637-
-DCMAKE_BUILD_TYPE=$(cat VAR_BUILD_TYPE)
626+
-DCMAKE_BUILD_TYPE=MinSizeRel
638627
-DPYBIND11_WERROR=ON
639628
-DDOWNLOAD_CATCH=ON
640629
-DDOWNLOAD_EIGEN=ON

0 commit comments

Comments
 (0)