File tree 1 file changed +46
-4
lines changed
1 file changed +46
-4
lines changed Original file line number Diff line number Diff line change 49
49
python : ' 3.6'
50
50
args : >
51
51
-DPYBIND11_FINDPYTHON=ON
52
+ # Inject a couple Windows 2019 runs
52
53
- runs-on : windows-2019
53
54
python : ' 3.9'
54
- - runs-on : windows-2022
55
- python : ' 3.9'
56
- args : >
57
- -DCMAKE_CXX_STANDARD=20
58
55
59
56
name : " 🐍 ${{ matrix.python }} • ${{ matrix.runs-on }} • x64 ${{ matrix.args }}"
60
57
runs-on : ${{ matrix.runs-on }}
@@ -808,6 +805,51 @@ jobs:
808
805
- name : Run all checks
809
806
run : cmake --build build -t check
810
807
808
+ windows-2022 :
809
+ strategy :
810
+ fail-fast : false
811
+ matrix :
812
+ python :
813
+ - 3.9
814
+
815
+ name : " 🐍 ${{ matrix.python }} • MSVC 2022 C++20 • x64"
816
+ runs-on : windows-2022
817
+
818
+ steps :
819
+ - uses : actions/checkout@v2
820
+
821
+ - name : Setup Python ${{ matrix.python }}
822
+ uses : actions/setup-python@v2
823
+ with :
824
+ python-version : ${{ matrix.python }}
825
+
826
+ - name : Prepare env
827
+ run : |
828
+ python3 -m pip install -r tests/requirements.txt
829
+
830
+ - name : Update CMake
831
+
832
+
833
+ - name : Configure C++20
834
+ run : >
835
+ cmake -S . -B build
836
+ -DPYBIND11_WERROR=ON
837
+ -DDOWNLOAD_CATCH=ON
838
+ -DDOWNLOAD_EIGEN=OFF
839
+ -DCMAKE_CXX_STANDARD=20
840
+
841
+ - name : Build C++20
842
+ run : cmake --build build -j 2
843
+
844
+ - name : Python tests
845
+ run : cmake --build build --target pytest
846
+
847
+ - name : C++20 tests
848
+ run : cmake --build build --target cpptest -j 2
849
+
850
+ - name : Interface test C++20
851
+ run : cmake --build build --target test_cmake_build
852
+
811
853
mingw :
812
854
name : " 🐍 3 • windows-latest • ${{ matrix.sys }}"
813
855
runs-on : windows-latest
You can’t perform that action at this time.
0 commit comments