Skip to content

Commit

Permalink
Experiment using -DCMAKE_BUILD_TYPE=Debug for Centos 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Jun 17, 2021
1 parent 574d4dc commit a573f79
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,8 @@ jobs:
- name: Install dependencies
run: python3 -m pip install cmake -r tests/requirements.txt --prefer-binary

- name: Configure
- name: Configure 7
if: matrix.centos == 7
shell: bash
run: >
cmake -S . -B build
Expand All @@ -602,6 +603,20 @@ jobs:
-DCMAKE_CXX_STANDARD=11
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
- name: Configure 8
if: matrix.centos == 8
shell: bash
run: >
cmake -S . -B build
# Using Debug to avoid segfault that appeared around 2021-06-04,
# apparently when the gcc version changed from 8.3 to 8.4.
-DCMAKE_BUILD_TYPE=Debug
-DPYBIND11_WERROR=ON
-DDOWNLOAD_CATCH=ON
-DDOWNLOAD_EIGEN=ON
-DCMAKE_CXX_STANDARD=11
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
- name: Build
run: cmake --build build -j 2

Expand Down

0 comments on commit a573f79

Please sign in to comment.