@@ -709,15 +709,22 @@ jobs:
709
709
- 3.7
710
710
- 3.8
711
711
- 3.9
712
+ year :
713
+ - 2019
712
714
713
715
include :
714
716
- python : 3.9
717
+ year : 2019
715
718
args : -DCMAKE_CXX_STANDARD=20 -DDOWNLOAD_EIGEN=OFF
716
719
- python : 3.8
720
+ year : 2019
717
721
args : -DCMAKE_CXX_STANDARD=17
722
+ - python : 3.9
723
+ year : 2022
724
+ args : -DCMAKE_CXX_STANDARD=20 -DDOWNLOAD_EIGEN=OFF
718
725
719
- name : " 🐍 ${{ matrix.python }} • MSVC 2019 • x86 ${{ matrix.args }}"
720
- runs-on : windows-latest
726
+ name : " 🐍 ${{ matrix.python }} • MSVC ${{ matrix.year }} • x86 ${{ matrix.args }}"
727
+ runs-on : windows-${{ matrix.year }}
721
728
722
729
steps :
723
730
- uses : actions/checkout@v2
@@ -852,50 +859,6 @@ jobs:
852
859
- name : Run all checks
853
860
run : cmake --build build -t check
854
861
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
862
900
863
mingw :
901
864
name : " 🐍 3 • windows-latest • ${{ matrix.sys }}"
0 commit comments