@@ -29,21 +29,20 @@ jobs:
29
29
python : 3.6
30
30
arch : x64
31
31
max-cxx-std : 17
32
- args : " -DPYBIND11_FINDPYTHON=ON"
33
- - runs-on : macos-latest
34
- python : 3.7
35
- arch : x64
36
- max-cxx-std : 17
37
- args : " -DPYBIND11_FINDPYTHON=ON"
32
+ args : >
33
+ -DPYBIND11_FINDPYTHON=ON
38
34
- runs-on : windows-2016
39
35
python : 3.7
40
36
arch : x86
41
- max-cxx-std : 14
37
+ max-cxx-std : 17
38
+ args2 : >
39
+ -DCMAKE_CXX_FLAGS="/permissive- /EHsc /GR"
42
40
- runs-on : windows-latest
43
41
python : 3.6
44
42
arch : x64
45
43
max-cxx-std : 17
46
- args : " -DPYBIND11_FINDPYTHON=ON"
44
+ args : >
45
+ -DPYBIND11_FINDPYTHON=ON
47
46
- runs-on : windows-latest
48
47
python : 3.7
49
48
arch : x64
57
56
python : 3.9-dev
58
57
arch : x64
59
58
max-cxx-std : 17
59
+ args : >
60
+ -DPYBIND11_FINDPYTHON=ON
60
61
61
62
exclude :
62
63
# Currently 32bit only, and we build 64bit
92
93
python-version : ${{ matrix.python }}
93
94
architecture : ${{ matrix.arch }}
94
95
95
- - name : Setup Boost
96
- if : runner.os != 'macOS'
96
+ - name : Setup Boost (Windows / Linux latest)
97
97
run : echo "::set-env name=BOOST_ROOT::$BOOST_ROOT_1_72_0"
98
98
99
99
- name : Update CMake
@@ -114,7 +114,6 @@ jobs:
114
114
run : python -m pip install -r tests/requirements.txt --prefer-binary
115
115
116
116
- name : Configure C++11 ${{ matrix.args }}
117
- shell : bash
118
117
run : >
119
118
cmake -S . -B .
120
119
-DPYBIND11_WERROR=ON
@@ -139,14 +138,14 @@ jobs:
139
138
run : git clean -fdx
140
139
141
140
- name : Configure C++${{ matrix.max-cxx-std }} ${{ matrix.args }}
142
- shell : bash
143
141
run : >
144
142
cmake -S . -B build2
145
143
-DPYBIND11_WERROR=ON
146
144
-DDOWNLOAD_CATCH=ON
147
145
-DDOWNLOAD_EIGEN=ON
148
146
-DCMAKE_CXX_STANDARD=${{ matrix.max-cxx-std }}
149
147
${{ matrix.args }}
148
+ ${{ matrix.args2 }}
150
149
151
150
- name : Build C++${{ matrix.max-cxx-std }}
152
151
run : cmake --build build2 -j 2
0 commit comments