Skip to content

Commit b8cf161

Browse files
committed
Tracking ci.yml changes from master.
1 parent 37c617c commit b8cf161

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

.github/workflows/ci_sh_def.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ jobs:
824824
uses: jwlawson/[email protected]
825825

826826
- name: Prepare MSVC
827-
uses: ilammy/msvc-dev-cmd@v1.12.1
827+
uses: ilammy/msvc-dev-cmd@v1.13.0
828828
with:
829829
arch: x86
830830

@@ -878,7 +878,7 @@ jobs:
878878
uses: jwlawson/[email protected]
879879

880880
- name: Prepare MSVC
881-
uses: ilammy/msvc-dev-cmd@v1.12.1
881+
uses: ilammy/msvc-dev-cmd@v1.13.0
882882
with:
883883
arch: x86
884884

@@ -987,14 +987,21 @@ jobs:
987987
mingw-w64-${{matrix.env}}-gcc
988988
mingw-w64-${{matrix.env}}-python-pip
989989
mingw-w64-${{matrix.env}}-python-numpy
990-
mingw-w64-${{matrix.env}}-python-scipy
991990
mingw-w64-${{matrix.env}}-cmake
992991
mingw-w64-${{matrix.env}}-make
993992
mingw-w64-${{matrix.env}}-python-pytest
994993
mingw-w64-${{matrix.env}}-eigen3
995994
mingw-w64-${{matrix.env}}-boost
996995
mingw-w64-${{matrix.env}}-catch
997996
997+
- uses: msys2/setup-msys2@v2
998+
if: matrix.sys == 'mingw64'
999+
with:
1000+
msystem: ${{matrix.sys}}
1001+
install: >-
1002+
git
1003+
mingw-w64-${{matrix.env}}-python-scipy
1004+
9981005
- uses: actions/checkout@v4
9991006

10001007
- name: Configure C++11

.github/workflows/ci_sh_def.yml.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--- ci.yml 2023-12-14 23:14:57.621249678 -0800
2-
+++ ci_sh_def.yml 2023-12-14 23:58:28.144667703 -0800
1+
--- ci.yml 2024-01-16 21:10:28.100295655 -0800
2+
+++ ci_sh_def.yml 2024-01-16 21:10:56.792251785 -0800
33
@@ -1,4 +1,16 @@
44
-name: CI
55
+# PLEASE KEEP THIS GROUP OF FILES IN SYNC AT ALL TIMES:
@@ -165,47 +165,47 @@
165165
"-DPYBIND11_TEST_OVERRIDE=test_call_policies.cpp;test_gil_scoped.cpp;test_thread.cpp"
166166

167167
- name: Build C++20 - Exercise cmake -DPYBIND11_TEST_OVERRIDE
168-
@@ -976,6 +1003,7 @@
168+
@@ -983,6 +1010,7 @@
169169
run: >-
170170
cmake -G "MinGW Makefiles" -DCMAKE_CXX_STANDARD=11 -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON
171171
-DPYTHON_EXECUTABLE=$(python -c "import sys; print(sys.executable)")
172172
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
173173
-S . -B build
174174

175175
- name: Build C++11
176-
@@ -997,6 +1025,7 @@
176+
@@ -1004,6 +1032,7 @@
177177
run: >-
178178
cmake -G "MinGW Makefiles" -DCMAKE_CXX_STANDARD=14 -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON
179179
-DPYTHON_EXECUTABLE=$(python -c "import sys; print(sys.executable)")
180180
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
181181
-S . -B build2
182182

183183
- name: Build C++14
184-
@@ -1018,6 +1047,7 @@
184+
@@ -1025,6 +1054,7 @@
185185
run: >-
186186
cmake -G "MinGW Makefiles" -DCMAKE_CXX_STANDARD=17 -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON
187187
-DPYTHON_EXECUTABLE=$(python -c "import sys; print(sys.executable)")
188188
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
189189
-S . -B build3
190190

191191
- name: Build C++17
192-
@@ -1085,6 +1115,7 @@
192+
@@ -1092,6 +1122,7 @@
193193
-DDOWNLOAD_EIGEN=ON
194194
-DCMAKE_CXX_COMPILER=clang++
195195
-DCMAKE_CXX_STANDARD=17
196196
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
197197

198198
- name: Build
199199
run: cmake --build . -j 2
200-
@@ -1150,6 +1181,7 @@
200+
@@ -1157,6 +1188,7 @@
201201
-DDOWNLOAD_EIGEN=ON
202202
-DCMAKE_CXX_COMPILER=clang++
203203
-DCMAKE_CXX_STANDARD=17
204204
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
205205
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
206206

207207
- name: Build
208-
@@ -1173,6 +1205,7 @@
208+
@@ -1180,6 +1212,7 @@
209209
-DDOWNLOAD_EIGEN=ON
210210
-DCMAKE_CXX_COMPILER=clang++
211211
-DCMAKE_CXX_STANDARD=17

0 commit comments

Comments
 (0)