File tree 1 file changed +45
-0
lines changed
1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -852,6 +852,51 @@ jobs:
852
852
- name : Run all checks
853
853
run : cmake --build build -t check
854
854
855
+ windows-2022 :
856
+ strategy :
857
+ fail-fast : false
858
+ matrix :
859
+ python :
860
+ - 3.9
861
+
862
+ name : " 🐍 ${{ matrix.python }} • MSVC 2022 C++20 • x64"
863
+ runs-on : windows-2022
864
+
865
+ steps :
866
+ - uses : actions/checkout@v2
867
+
868
+ - name : Setup Python ${{ matrix.python }}
869
+ uses : actions/setup-python@v2
870
+ with :
871
+ python-version : ${{ matrix.python }}
872
+
873
+ - name : Prepare env
874
+ run : |
875
+ python3 -m pip install -r tests/requirements.txt
876
+
877
+ - name : Update CMake
878
+
879
+
880
+ - name : Configure C++20
881
+ run : >
882
+ cmake -S . -B build
883
+ -DPYBIND11_WERROR=ON
884
+ -DDOWNLOAD_CATCH=ON
885
+ -DDOWNLOAD_EIGEN=OFF
886
+ -DCMAKE_CXX_STANDARD=20
887
+
888
+ - name : Build C++20
889
+ run : cmake --build build -j 2
890
+
891
+ - name : Python tests
892
+ run : cmake --build build --target pytest
893
+
894
+ - name : C++20 tests
895
+ run : cmake --build build --target cpptest -j 2
896
+
897
+ - name : Interface test C++20
898
+ run : cmake --build build --target test_cmake_build
899
+
855
900
mingw :
856
901
name : " 🐍 3 • windows-latest • ${{ matrix.sys }}"
857
902
runs-on : windows-latest
You can’t perform that action at this time.
0 commit comments