Skip to content

Commit

Permalink
Merge branch 'PyO3:main' into chore/core_deprecation_warning
Browse files Browse the repository at this point in the history
  • Loading branch information
euanwm authored Oct 10, 2024
2 parents f3c3cc9 + 340433a commit 2a0b05b
Showing 1 changed file with 51 additions and 1 deletion.
52 changes: 51 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ jobs:
},
]
include:
# ubuntu-24.04 does not support 3.7
- python-version: 3.7
platform:
{
os: "ubuntu-22.04",
python-architecture: "x64",
rust-target: "x86_64-unknown-linux-gnu",
}
# Older versions of CPython are not available for AArch64.
- python-version: 3.12
platform:
Expand All @@ -73,6 +81,15 @@ jobs:
python-architecture: "x64",
rust-target: "x86_64-unknown-linux-gnu",
}
exclude:
# ubuntu-24.04 does not support 3.7
- python-version: 3.7
platform:
{
os: "ubuntu-latest",
python-architecture: "x64",
rust-target: "x86_64-unknown-linux-gnu",
}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -125,6 +142,24 @@ jobs:
rust-target: "x86_64-pc-windows-msvc",
},
]
include:
# ubuntu-24.04 does not support 3.7
- python-version: 3.7
platform:
{
os: "ubuntu-22.04",
python-architecture: "x64",
rust-target: "x86_64-unknown-linux-gnu",
}
exclude:
# ubuntu-24.04 does not support 3.7
- python-version: 3.7
platform:
{
os: "ubuntu-latest",
python-architecture: "x64",
rust-target: "x86_64-unknown-linux-gnu",
}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -153,6 +188,9 @@ jobs:
needs: [lint, check-msrv, examples]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: messense/maturin-action@v1
with:
target: aarch64
Expand All @@ -164,6 +202,9 @@ jobs:
needs: [lint, check-msrv, examples]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
continue-on-error: true
Expand All @@ -179,6 +220,9 @@ jobs:
needs: [lint, check-msrv, examples]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
continue-on-error: true
Expand All @@ -194,7 +238,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: '3.12'
- name: Install Rust
uses: dtolnay/[email protected]
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -235,6 +279,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install OpenBLAS
run: sudo apt install --yes libopenblas-dev
- name: Install Rust
Expand All @@ -252,6 +299,9 @@ jobs:
needs: [lint, check-msrv, examples]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install numpy
run: pip install "numpy" ml_dtypes
- uses: Swatinem/rust-cache@v2
Expand Down

0 comments on commit 2a0b05b

Please sign in to comment.