mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 00:22:00 +00:00
ci: update cmake action (#2734)
This commit is contained in:
parent
79cb013f1f
commit
d5af536fa1
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -71,9 +71,7 @@ jobs:
|
|||||||
run: echo "BOOST_ROOT=$BOOST_ROOT_1_72_0" >> $GITHUB_ENV
|
run: echo "BOOST_ROOT=$BOOST_ROOT_1_72_0" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Update CMake
|
- name: Update CMake
|
||||||
uses: jwlawson/actions-setup-cmake@v1.4
|
uses: jwlawson/actions-setup-cmake@v1.5
|
||||||
with:
|
|
||||||
cmake-version: 3.19.1
|
|
||||||
|
|
||||||
- name: Cache wheels
|
- name: Cache wheels
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
@ -364,7 +362,7 @@ jobs:
|
|||||||
run: python3 -m pip install --upgrade pip
|
run: python3 -m pip install --upgrade pip
|
||||||
|
|
||||||
- name: Setup CMake 3.18
|
- name: Setup CMake 3.18
|
||||||
uses: jwlawson/actions-setup-cmake@v1.4
|
uses: jwlawson/actions-setup-cmake@v1.5
|
||||||
with:
|
with:
|
||||||
cmake-version: 3.18
|
cmake-version: 3.18
|
||||||
|
|
||||||
@ -551,9 +549,7 @@ jobs:
|
|||||||
architecture: x86
|
architecture: x86
|
||||||
|
|
||||||
- name: Update CMake
|
- name: Update CMake
|
||||||
uses: jwlawson/actions-setup-cmake@v1.4
|
uses: jwlawson/actions-setup-cmake@v1.5
|
||||||
with:
|
|
||||||
cmake-version: 3.19.1
|
|
||||||
|
|
||||||
- name: Prepare MSVC
|
- name: Prepare MSVC
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
@ -599,9 +595,7 @@ jobs:
|
|||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
- name: Update CMake
|
- name: Update CMake
|
||||||
uses: jwlawson/actions-setup-cmake@v1.4
|
uses: jwlawson/actions-setup-cmake@v1.5
|
||||||
with:
|
|
||||||
cmake-version: 3.19.1
|
|
||||||
|
|
||||||
- name: Prepare MSVC
|
- name: Prepare MSVC
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
@ -655,9 +649,7 @@ jobs:
|
|||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
- name: Update CMake
|
- name: Update CMake
|
||||||
uses: jwlawson/actions-setup-cmake@v1.4
|
uses: jwlawson/actions-setup-cmake@v1.5
|
||||||
with:
|
|
||||||
cmake-version: 3.19.1
|
|
||||||
|
|
||||||
- name: Prepare env
|
- name: Prepare env
|
||||||
run: python -m pip install -r tests/requirements.txt --prefer-binary
|
run: python -m pip install -r tests/requirements.txt --prefer-binary
|
||||||
|
2
.github/workflows/configure.yml
vendored
2
.github/workflows/configure.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
|||||||
# An action for adding a specific version of CMake:
|
# An action for adding a specific version of CMake:
|
||||||
# https://github.com/jwlawson/actions-setup-cmake
|
# https://github.com/jwlawson/actions-setup-cmake
|
||||||
- name: Setup CMake ${{ matrix.cmake }}
|
- name: Setup CMake ${{ matrix.cmake }}
|
||||||
uses: jwlawson/actions-setup-cmake@v1.4
|
uses: jwlawson/actions-setup-cmake@v1.5
|
||||||
with:
|
with:
|
||||||
cmake-version: ${{ matrix.cmake }}
|
cmake-version: ${{ matrix.cmake }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user