mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
Working around Centos 8 failure. (#3030)
* Experiment using -DCMAKE_BUILD_TYPE=Debug for Centos 8. * Moving comment because the current placement seems to mess up the cmake command. * Using `echo > VAR_XXX` and `$(cat VAR_XXX)` trick to emulate using variables (https://github.com/actions/starter-workflows/issues/68#issuecomment-524937002).
This commit is contained in:
parent
b4b67f026b
commit
19d99a87fe
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -592,10 +592,21 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: python3 -m pip install cmake -r tests/requirements.txt --prefer-binary
|
run: python3 -m pip install cmake -r tests/requirements.txt --prefer-binary
|
||||||
|
|
||||||
|
- name: VAR_BUILD_TYPE 7
|
||||||
|
if: matrix.centos == 7
|
||||||
|
run: echo Release > VAR_BUILD_TYPE
|
||||||
|
|
||||||
|
# Using Debug 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 Debug > VAR_BUILD_TYPE
|
||||||
|
|
||||||
- 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)
|
||||||
-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