Skip to content

Commit a573f79

Browse files
committed
Experiment using -DCMAKE_BUILD_TYPE=Debug for Centos 8.
1 parent 574d4dc commit a573f79

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,8 @@ jobs:
592592
- name: Install dependencies
593593
run: python3 -m pip install cmake -r tests/requirements.txt --prefer-binary
594594

595-
- name: Configure
595+
- name: Configure 7
596+
if: matrix.centos == 7
596597
shell: bash
597598
run: >
598599
cmake -S . -B build
@@ -602,6 +603,20 @@ jobs:
602603
-DCMAKE_CXX_STANDARD=11
603604
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
604605
606+
- name: Configure 8
607+
if: matrix.centos == 8
608+
shell: bash
609+
run: >
610+
cmake -S . -B build
611+
# Using Debug to avoid segfault that appeared around 2021-06-04,
612+
# apparently when the gcc version changed from 8.3 to 8.4.
613+
-DCMAKE_BUILD_TYPE=Debug
614+
-DPYBIND11_WERROR=ON
615+
-DDOWNLOAD_CATCH=ON
616+
-DDOWNLOAD_EIGEN=ON
617+
-DCMAKE_CXX_STANDARD=11
618+
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
619+
605620
- name: Build
606621
run: cmake --build build -j 2
607622

0 commit comments

Comments
 (0)