Skip to content

Commit e5b1dd5

Browse files
authored
Update Cargo.toml and workflows to make CI works again (#87)
Update Cargo.toml and workflows to make CI works again.
1 parent d74caaf commit e5b1dd5

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
strategy:
3030
matrix:
3131
platform:
32-
- { os: linux, runner: ubuntu-22.04, target: aarch64 }
33-
- { os: macos, runner: macos-14, target: aarch64 }
32+
- { os: linux, runner: ubuntu-24.04, target: aarch64, container: "ghcr.io/rust-cross/manylinux_2_28-cross:aarch64" }
33+
- { os: macos, runner: macos-15, target: aarch64 }
3434
steps:
3535
- uses: actions/checkout@v4
3636
- uses: actions/setup-python@v5
@@ -42,4 +42,5 @@ jobs:
4242
target: ${{ matrix.platform.target }}
4343
args: --release --out dist --find-interpreter
4444
sccache: 'true'
45-
manylinux: auto
45+
manylinux: auto
46+
container: ${{ matrix.platform.container }}

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
strategy:
3232
matrix:
3333
platform:
34-
- { os: linux, runner: ubuntu-22.04, target: x86_64 }
35-
- { os: linux, runner: ubuntu-22.04, target: aarch64 }
36-
- { os: linux, runner: ubuntu-22.04, target: armv7 }
37-
- { os: musllinux, runner: ubuntu-22.04, target: x86_64 }
38-
- { os: musllinux, runner: ubuntu-22.04, target: aarch64 }
39-
- { os: musllinux, runner: ubuntu-22.04, target: armv7 }
34+
- { os: linux, runner: ubuntu-24.04, target: x86_64, container: "quay.io/pypa/manylinux_2_28_x86_64:latest" }
35+
- { os: linux, runner: ubuntu-24.04, target: aarch64, container: "ghcr.io/rust-cross/manylinux_2_28-cross:aarch64" }
36+
- { os: linux, runner: ubuntu-24.04, target: armv7, container: "ghcr.io/rust-cross/manylinux_2_28-cross:armv7" }
37+
- { os: musllinux, runner: ubuntu-24.04, target: x86_64, container: "off" }
38+
- { os: musllinux, runner: ubuntu-24.04, target: aarch64, container: "off" }
39+
- { os: musllinux, runner: ubuntu-24.04, target: armv7, container: "off" }
4040
- { os: windows, runner: windows-latest, target: x64 }
4141
- { os: macos, runner: macos-13, target: x86_64 }
4242
- { os: macos, runner: macos-14, target: aarch64 }
@@ -55,6 +55,7 @@ jobs:
5555
args: --release --out dist --find-interpreter
5656
sccache: 'true'
5757
manylinux: auto
58+
container: ${{ matrix.platform.container }}
5859
- name: Upload wheels
5960
uses: actions/upload-artifact@v4
6061
with:

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ pythonize = "0.23.0"
4343
# TODO: Switch to a stable tag of mistralrs after a new release is tagged.
4444
mistralrs = { git = "https://github.com/EricLBuehler/mistral.rs.git" }
4545
schemars = "0.8.22"
46+
openssl = { version = "0.10.71", features = ["vendored"] }

0 commit comments

Comments
 (0)