mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-20 06:49:25 +00:00
MSVC C++20 test_eigen (#3741)
* Removing C++20 condition for MSVC is_template_base_of decltype workaround. * `-DDOWNLOAD_EIGEN=ON` for MSVC 2022 C++20 * `-DDOWNLOAD_EIGEN=ON` for MSVC 2019 C++20 * `-DPYBIND11_WERROR=OFF` for MSVC C++20 (2019, 2020) * Restoring `defined(PYBIND11_CPP20)` in common.h * pragma warning(disable : 5054) in eigen.h * Reverting `-DPYBIND11_WERROR=OFF` changes.
This commit is contained in:
committed by
GitHub
parent
4b42c37191
commit
009ffc3362
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -712,7 +712,7 @@ jobs:
|
||||
|
||||
include:
|
||||
- python: 3.9
|
||||
args: -DCMAKE_CXX_STANDARD=20 -DDOWNLOAD_EIGEN=OFF
|
||||
args: -DCMAKE_CXX_STANDARD=20
|
||||
- python: 3.8
|
||||
args: -DCMAKE_CXX_STANDARD=17
|
||||
|
||||
@@ -835,7 +835,7 @@ jobs:
|
||||
cmake -S . -B build
|
||||
-DPYBIND11_WERROR=ON
|
||||
-DDOWNLOAD_CATCH=ON
|
||||
-DDOWNLOAD_EIGEN=OFF
|
||||
-DDOWNLOAD_EIGEN=ON
|
||||
-DCMAKE_CXX_STANDARD=20
|
||||
|
||||
- name: Build C++20
|
||||
|
||||
Reference in New Issue
Block a user