mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-13 09:46:10 +00:00
Automatic part of merging branch 'master' into sh_merge_master.
The only manual intervention was to remove the merge conflict markers in pybind11.h. TODO in separate commit: complete removal of the obsolete detail/pragma_warning_block.h.
This commit is contained in:
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@@ -76,7 +76,7 @@ jobs:
|
||||
run: brew install boost
|
||||
|
||||
- name: Update CMake
|
||||
uses: jwlawson/actions-setup-cmake@v1.9
|
||||
uses: jwlawson/actions-setup-cmake@v1.10
|
||||
|
||||
- name: Cache wheels
|
||||
if: runner.os == 'macOS'
|
||||
@@ -194,7 +194,7 @@ jobs:
|
||||
debug: ${{ matrix.python-debug }}
|
||||
|
||||
- name: Update CMake
|
||||
uses: jwlawson/actions-setup-cmake@v1.9
|
||||
uses: jwlawson/actions-setup-cmake@v1.10
|
||||
|
||||
- name: Valgrind cache
|
||||
if: matrix.valgrind
|
||||
@@ -446,7 +446,7 @@ jobs:
|
||||
run: python3 -m pip install --upgrade pip
|
||||
|
||||
- name: Update CMake
|
||||
uses: jwlawson/actions-setup-cmake@v1.9
|
||||
uses: jwlawson/actions-setup-cmake@v1.10
|
||||
|
||||
- name: Configure
|
||||
shell: bash
|
||||
@@ -595,13 +595,13 @@ jobs:
|
||||
|
||||
- name: VAR_BUILD_TYPE 7
|
||||
if: matrix.centos == 7
|
||||
run: echo Release > VAR_BUILD_TYPE
|
||||
run: echo MinSizeRel > VAR_BUILD_TYPE
|
||||
|
||||
# Using Debug to avoid segfault that appeared around 2021-06-04,
|
||||
# Using Release to avoid segfault that appeared around 2021-06-04,
|
||||
# apparently when the gcc version changed from 8.3 to 8.4.
|
||||
- name: VAR_BUILD_TYPE 8
|
||||
if: matrix.centos == 8
|
||||
run: echo Debug > VAR_BUILD_TYPE
|
||||
run: echo Release > VAR_BUILD_TYPE
|
||||
|
||||
- name: Configure
|
||||
shell: bash
|
||||
@@ -665,7 +665,7 @@ jobs:
|
||||
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
|
||||
working-directory: /build-tests
|
||||
|
||||
- name: Run tests
|
||||
- name: Python tests
|
||||
run: make pytest -j 2
|
||||
working-directory: /build-tests
|
||||
|
||||
@@ -739,7 +739,7 @@ jobs:
|
||||
architecture: x86
|
||||
|
||||
- name: Update CMake
|
||||
uses: jwlawson/actions-setup-cmake@v1.9
|
||||
uses: jwlawson/actions-setup-cmake@v1.10
|
||||
|
||||
- name: Prepare MSVC
|
||||
uses: ilammy/msvc-dev-cmd@v1.9.0
|
||||
@@ -761,7 +761,7 @@ jobs:
|
||||
- name: Build C++11
|
||||
run: cmake --build build -j 2
|
||||
|
||||
- name: Run tests
|
||||
- name: Python tests
|
||||
run: cmake --build build -t pytest
|
||||
|
||||
win32-msvc2015:
|
||||
@@ -785,7 +785,7 @@ jobs:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
- name: Update CMake
|
||||
uses: jwlawson/actions-setup-cmake@v1.9
|
||||
uses: jwlawson/actions-setup-cmake@v1.10
|
||||
|
||||
- name: Prepare MSVC
|
||||
uses: ilammy/msvc-dev-cmd@v1.9.0
|
||||
@@ -839,7 +839,7 @@ jobs:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
- name: Update CMake
|
||||
uses: jwlawson/actions-setup-cmake@v1.9
|
||||
uses: jwlawson/actions-setup-cmake@v1.10
|
||||
|
||||
- name: Prepare env
|
||||
run: python -m pip install -r tests/requirements.txt --prefer-binary
|
||||
|
||||
2
.github/workflows/configure.yml
vendored
2
.github/workflows/configure.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
||||
# An action for adding a specific version of CMake:
|
||||
# https://github.com/jwlawson/actions-setup-cmake
|
||||
- name: Setup CMake ${{ matrix.cmake }}
|
||||
uses: jwlawson/actions-setup-cmake@v1.9
|
||||
uses: jwlawson/actions-setup-cmake@v1.10
|
||||
with:
|
||||
cmake-version: ${{ matrix.cmake }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user