Skip to content

Commit 4d14615

Browse files
committed
resync pybind11 with upstream
1 parent 817e572 commit 4d14615

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.github/workflows/pybind11.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,6 @@ jobs:
3737
- 'pypy-3.10-nightly'
3838
- 'pypy-3.11-nightly'
3939

40-
# Items in here will either be added to the build matrix (if not
41-
# present), or add new keys to an existing matrix element if all the
42-
# existing keys match.
43-
#
44-
# We support an optional key: args, for cmake args
45-
include:
46-
- runs-on: ubuntu-latest
47-
python: 'pypy-3.9-nightly'
48-
args: >
49-
-DPYBIND11_FINDPYTHON=ON
50-
5140
name: "pybind11 ${{ matrix.python }} • ${{ matrix.runs-on }} x64 ${{ matrix.args }}"
5241
runs-on: ${{ matrix.runs-on }}
5342

@@ -75,7 +64,7 @@ jobs:
7564

7665
- name: Cache wheels
7766
if: runner.os == 'macOS'
78-
uses: actions/cache@v3
67+
uses: actions/cache@v4
7968
with:
8069
# This path is specific to macOS - we really only need it for PyPy NumPy wheels
8170
# See https://github.com/actions/cache/blob/master/examples.md#python---pip
@@ -93,6 +82,8 @@ jobs:
9382
run: python -m pip install pytest-github-actions-annotate-failures
9483

9584
# First build - C++11 mode and inplace
85+
# More-or-less randomly adding -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON here
86+
# (same for PYBIND11_NUMPY_1_ONLY, but requires a NumPy 1.x at runtime).
9687
- name: Configure C++11 ${{ matrix.args }}
9788
run: >
9889
cmake -S . -B .
@@ -113,7 +104,7 @@ jobs:
113104
run: cmake --build . --target pytest -j 2
114105

115106
- name: C++11 tests
116-
run: cmake --build . --target cpptest -j 2
107+
run: cmake --build . --target cpptest -j 2
117108

118109
- name: Interface test C++11
119110
run: cmake --build . --target test_cmake_build
@@ -122,6 +113,8 @@ jobs:
122113
run: git clean -fdx
123114

124115
# Second build - C++17 mode and in a build directory
116+
# More-or-less randomly adding -DPYBIND11_SIMPLE_GIL_MANAGEMENT=OFF here.
117+
# (same for PYBIND11_NUMPY_1_ONLY, but requires a NumPy 1.x at runtime).
125118
- name: Configure C++17
126119
run: >
127120
cmake -S . -B build2
@@ -153,7 +146,6 @@ jobs:
153146
-DDOWNLOAD_EIGEN=ON
154147
-DCMAKE_CXX_STANDARD=17
155148
-DPYBIND11_INTERNALS_VERSION=10000000
156-
"-DPYBIND11_TEST_OVERRIDE=test_call_policies.cpp;test_gil_scoped.cpp;test_thread.cpp"
157149
${{ matrix.args }}
158150
159151
- name: Build (unstable ABI)

0 commit comments

Comments
 (0)