Skip to content

Commit

Permalink
update github workflows for numpy 1 and 2
Browse files Browse the repository at this point in the history
  • Loading branch information
fbordeu committed Oct 13, 2024
1 parent ac2b13c commit 595dac6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
# os: [ ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest ]
os: [ ubuntu-20.04, ubuntu-22.04, windows-latest ]
python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
numpy: ["1"]
include:
- python: "3.10"
numpy: "2"
- python: "3.11"
numpy: "2"
- python: "3.12"
numpy: "2"
runs-on: ${{ matrix.os }}
steps:
- name: Install MSBuild
Expand All @@ -37,10 +45,10 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install build dependencies
- name: Install build dependencies numpy ${{ matrix.numpy }}
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools>=42 setuptools_scm numpy Cython
python -m pip install --upgrade setuptools>=42 setuptools_scm numpy==${{ matrix.numpy }}.* Cython
- name: Build and install eigency
run: |
python setup.py build
Expand Down

0 comments on commit 595dac6

Please sign in to comment.