Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- runner: ubuntu-24.04-arm
target: aarch64
manylinux: "2014"
container: "2014"
container: "quay.io/pypa/manylinux2014_aarch64"
Comment thread
daxpryce marked this conversation as resolved.
args: -m packages/pyo3/Cargo.toml --release
artifact_name: dist-linux-aarch64
- runner: ubuntu-latest
Expand All @@ -37,7 +37,7 @@ jobs:
- runner: ubuntu-24.04-arm
target: aarch64
manylinux: musllinux_1_2
container: musllinux_1_2
container: "quay.io/pypa/musllinux_1_2_aarch64"
Comment thread
daxpryce marked this conversation as resolved.
args: -m packages/pyo3/Cargo.toml --release
artifact_name: dist-musllinux-aarch64
- runner: windows-latest
Expand All @@ -54,7 +54,7 @@ jobs:
artifact_name: dist-macos-universal2
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v6
- uses: astral-sh/setup-uv@v7
- name: Rust Unittests
run: |
cargo test --manifest-path packages/network_partitions/Cargo.toml
Expand Down Expand Up @@ -86,7 +86,19 @@ jobs:
uv run python -m unittest
shell: bash

- uses: actions/upload-artifact@v4
- name: Remove non-manylinux Linux wheels
if: ${{ startsWith(matrix.runner, 'ubuntu') }}
run: |
find target/wheels -name '*-linux_*.whl' -delete
shell: bash

- name: Remove non-universal2 macOS wheels
if: ${{ startsWith(matrix.runner, 'macos') && contains(matrix.target, 'universal2') }}
run: |
find target/wheels -name '*.whl' ! -name '*universal2*' -delete
shell: bash

- uses: actions/upload-artifact@v7
with:
name: ${{ matrix.artifact_name }}
path: |
Expand Down
22 changes: 17 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- runner: ubuntu-24.04-arm
target: aarch64
manylinux: "2014"
container: "2014"
container: "quay.io/pypa/manylinux2014_aarch64"
Comment thread
daxpryce marked this conversation as resolved.
args: -m packages/pyo3/Cargo.toml --release
artifact_name: dist-linux-aarch64
- runner: ubuntu-latest
Expand All @@ -57,7 +57,7 @@ jobs:
- runner: ubuntu-24.04-arm
target: aarch64
manylinux: musllinux_1_2
container: musllinux_1_2
container: "quay.io/pypa/musllinux_1_2_aarch64"
Comment thread
daxpryce marked this conversation as resolved.
args: -m packages/pyo3/Cargo.toml --release
artifact_name: dist-musllinux-aarch64
- runner: windows-latest
Expand All @@ -74,7 +74,7 @@ jobs:
artifact_name: dist-macos-universal2
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v6
- uses: astral-sh/setup-uv@v7

- name: Rust Unittests
run: |
Expand Down Expand Up @@ -107,7 +107,19 @@ jobs:
uv run python -m unittest
shell: bash

- uses: actions/upload-artifact@v4
- name: Remove non-manylinux Linux wheels
if: ${{ startsWith(matrix.runner, 'ubuntu') }}
run: |
find target/wheels -name '*-linux_*.whl' -delete
shell: bash

- name: Remove non-universal2 macOS wheels
if: ${{ startsWith(matrix.runner, 'macos') && contains(matrix.target, 'universal2') }}
run: |
find target/wheels -name '*.whl' ! -name '*universal2*' -delete
shell: bash

- uses: actions/upload-artifact@v7
with:
name: ${{ matrix.artifact_name }}
path: |
Expand All @@ -123,7 +135,7 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v6
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
pattern: dist-*
merge-multiple: true
Expand Down
Loading