Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCousineau-TRI committed Jul 9, 2024
1 parent a9494d3 commit c427632
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
# - 'pypy-3.8'
# - 'pypy-3.9'
# - 'pypy-3.10'
use_numpy_2:
- false
- true
numpy_version:
- '1.x'
- '2.x'

# Items in here will either be added to the build matrix (if not
# present), or add new keys to an existing matrix element if all the
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
# - runs-on: windows-2019
# python: '2.7'

name: "🐍 ${{ matrix.python }} • ${{ matrix.runs-on }} • x64 ${{ matrix.args }}"
name: "🐍 ${{ matrix.python }} • ${{ matrix.runs-on }} • x64 • NumPy ${{ matrix.numpy_version }} • ${{ matrix.args }}"
runs-on: ${{ matrix.runs-on }}

steps:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
python -m pip install -r tests/requirements.txt
- name: Install NumPy >= 2
if: matrix.use_numpy_2
if: matrix.numpy_version == '2.x'
run: pip install 'numpy>=2.0.0b1'

- name: Setup annotations on Linux
Expand All @@ -124,7 +124,7 @@ jobs:
-DPYBIND11_WERROR=ON
-DPYBIND11_DISABLE_HANDLE_TYPE_NAME_DEFAULT_IMPLEMENTATION=ON
-DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON
-DPYBIND11_NUMPY_1_ONLY=ON
-DPYBIND11_NUMPY_1_ONLY=${{ matrix.numpy_version == '1.x' && "ON" || "OFF" }}
-DDOWNLOAD_CATCH=ON
-DDOWNLOAD_EIGEN=ON
-DCMAKE_CXX_STANDARD=11
Expand Down

0 comments on commit c427632

Please sign in to comment.