Skip to content

Commit e32f73b

Browse files
committed
Tracking ci.yml changes from master.
1 parent 4d774ec commit e32f73b

File tree

2 files changed

+31
-23
lines changed

2 files changed

+31
-23
lines changed

.github/workflows/ci_sh_def.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,14 @@ jobs:
298298
std: 20
299299
- clang: 10
300300
std: 17
301+
- clang: 11
302+
std: 20
303+
- clang: 12
304+
std: 20
305+
- clang: 13
306+
std: 20
307+
- clang: 14
308+
std: 20
301309

302310
name: "🐍 3 • Clang ${{ matrix.clang }} • C++${{ matrix.std }} • x64"
303311
container: "silkeh/clang:${{ matrix.clang }}"
@@ -454,14 +462,14 @@ jobs:
454462
strategy:
455463
fail-fast: false
456464
matrix:
457-
gcc:
458-
- 7
459-
- latest
460-
std:
461-
- 11
462465
include:
463-
- gcc: 10
464-
std: 20
466+
- { gcc: 7, std: 11 }
467+
- { gcc: 7, std: 17 }
468+
- { gcc: 8, std: 14 }
469+
- { gcc: 8, std: 17 }
470+
- { gcc: 10, std: 17 }
471+
- { gcc: 11, std: 20 }
472+
- { gcc: 12, std: 20 }
465473

466474
name: "🐍 3 • GCC ${{ matrix.gcc }} • C++${{ matrix.std }}• x64"
467475
container: "gcc:${{ matrix.gcc }}"

.github/workflows/ci_sh_def.yml.patch

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--- ci.yml 2022-07-09 21:47:49.308397659 -0700
2-
+++ ci_sh_def.yml 2022-07-09 21:48:50.876897366 -0700
1+
--- ci.yml 2022-07-21 06:53:22.850154382 -0700
2+
+++ ci_sh_def.yml 2022-07-21 06:54:29.947056986 -0700
33
@@ -1,4 +1,16 @@
44
-name: CI
55
+# PLEASE KEEP THIS GROUP OF FILES IN SYNC AT ALL TIMES:
@@ -59,15 +59,15 @@
5959

6060
- name: Build
6161
run: cmake --build build -j 2
62-
@@ -299,6 +315,7 @@
62+
@@ -307,6 +323,7 @@
6363
-DPYBIND11_WERROR=ON
6464
-DDOWNLOAD_CATCH=ON
6565
-DCMAKE_CXX_STANDARD=${{ matrix.std }}
6666
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
6767
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
6868

6969
- name: Build
70-
@@ -328,7 +345,8 @@
70+
@@ -336,7 +353,8 @@
7171
run: apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y cmake git python3-dev python3-pytest python3-numpy
7272

7373
- name: Configure
@@ -77,7 +77,7 @@
7777

7878
- name: Build
7979
run: cmake --build build -j2 --verbose
80-
@@ -408,7 +426,7 @@
80+
@@ -416,7 +434,7 @@
8181
cmake3 -S . -B build -DDOWNLOAD_CATCH=ON \
8282
-DCMAKE_CXX_STANDARD=11 \
8383
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") \
@@ -86,71 +86,71 @@
8686
-DPYBIND11_TEST_FILTER="test_smart_ptr.cpp;test_virtual_functions.cpp"
8787

8888
# Building before installing Pip should produce a warning but not an error
89-
@@ -467,6 +485,7 @@
89+
@@ -475,6 +493,7 @@
9090
-DPYBIND11_WERROR=ON
9191
-DDOWNLOAD_CATCH=ON
9292
-DCMAKE_CXX_STANDARD=${{ matrix.std }}
9393
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
9494
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
9595

9696
- name: Build
97-
@@ -522,6 +541,7 @@
97+
@@ -530,6 +549,7 @@
9898
-DDOWNLOAD_CATCH=ON \
9999
-DDOWNLOAD_EIGEN=OFF \
100100
-DCMAKE_CXX_STANDARD=11 \
101101
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT" \
102102
-DCMAKE_CXX_COMPILER=$(which icpc) \
103103
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
104104

105-
@@ -554,6 +574,7 @@
105+
@@ -562,6 +582,7 @@
106106
-DDOWNLOAD_CATCH=ON \
107107
-DDOWNLOAD_EIGEN=OFF \
108108
-DCMAKE_CXX_STANDARD=17 \
109109
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT" \
110110
-DCMAKE_CXX_COMPILER=$(which icpc) \
111111
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
112112

113-
@@ -621,6 +642,7 @@
113+
@@ -629,6 +650,7 @@
114114
-DDOWNLOAD_CATCH=ON
115115
-DDOWNLOAD_EIGEN=ON
116116
-DCMAKE_CXX_STANDARD=11
117117
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
118118
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
119119

120120
- name: Build
121-
@@ -671,6 +693,7 @@
121+
@@ -679,6 +701,7 @@
122122
cmake ../pybind11-tests
123123
-DDOWNLOAD_CATCH=ON
124124
-DPYBIND11_WERROR=ON
125125
+ -DCMAKE_CXX_FLAGS="-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
126126
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
127127
working-directory: /build-tests
128128

129-
@@ -763,6 +786,7 @@
129+
@@ -771,6 +794,7 @@
130130
-DPYBIND11_WERROR=ON
131131
-DDOWNLOAD_CATCH=ON
132132
-DDOWNLOAD_EIGEN=ON
133133
+ -DCMAKE_CXX_FLAGS="/GR /EHsc /DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
134134
${{ matrix.args }}
135135
- name: Build C++11
136136
run: cmake --build build -j 2
137-
@@ -817,6 +841,7 @@
137+
@@ -825,6 +849,7 @@
138138
-DPYBIND11_WERROR=ON
139139
-DDOWNLOAD_CATCH=ON
140140
-DDOWNLOAD_EIGEN=ON
141141
+ -DCMAKE_CXX_FLAGS="/GR /EHsc /DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
142142
${{ matrix.args }}
143143
- name: Build C++11
144144
run: cmake --build build --config Debug -j 2
145-
@@ -857,6 +882,7 @@
145+
@@ -865,6 +890,7 @@
146146
-DDOWNLOAD_CATCH=ON
147147
-DDOWNLOAD_EIGEN=ON
148148
-DCMAKE_CXX_STANDARD=20
149149
+ -DCMAKE_CXX_FLAGS="/GR /EHsc /DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
150150

151151
- name: Build C++20
152152
run: cmake --build build -j 2
153-
@@ -904,7 +930,7 @@
153+
@@ -912,7 +938,7 @@
154154
- name: Configure C++11
155155
# LTO leads to many undefined reference like
156156
# `pybind11::detail::function_call::function_call(pybind11::detail::function_call&&)
@@ -159,7 +159,7 @@
159159

160160
- name: Build C++11
161161
run: cmake --build build -j 2
162-
@@ -922,7 +948,7 @@
162+
@@ -930,7 +956,7 @@
163163
run: git clean -fdx
164164

165165
- name: Configure C++14
@@ -168,7 +168,7 @@
168168

169169
- name: Build C++14
170170
run: cmake --build build2 -j 2
171-
@@ -940,7 +966,7 @@
171+
@@ -948,7 +974,7 @@
172172
run: git clean -fdx
173173

174174
- name: Configure C++17

0 commit comments

Comments
 (0)