Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build wheels on CI for all Python packages #18

Merged
merged 4 commits into from
Jun 23, 2024
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
34 changes: 24 additions & 10 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This file is autogenerated by maturin v1.5.1
# This file is (mostly) autogenerated by maturin v1.5.1
# To update, run
#
# maturin generate-ci github -m arro3-core/Cargo.toml
#
name: CI
name: Build wheels

on:
push:
Expand Down Expand Up @@ -34,6 +34,9 @@ jobs:
target: s390x
- runner: ubuntu-latest
target: ppc64le
module:
- arro3-core
- arro3-compute
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -43,13 +46,13 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --manifest-path arro3-core/Cargo.toml
args: --release --out dist --manifest-path ${{ matrix.module }}/Cargo.toml
sccache: "true"
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.platform.target }}
name: wheels-linux-${{ matrix.platform.target }}-${{ matrix.module }}
path: dist

windows:
Expand All @@ -61,6 +64,9 @@ jobs:
target: x64
- runner: windows-latest
target: x86
module:
- arro3-core
- arro3-compute
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -71,12 +77,12 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --manifest-path arro3-core/Cargo.toml
args: --release --out dist --manifest-path ${{ matrix.module }}/Cargo.toml
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-windows-${{ matrix.platform.target }}
name: wheels-windows-${{ matrix.platform.target }}-${{ matrix.module }}
path: dist

macos:
Expand All @@ -88,6 +94,9 @@ jobs:
target: x86_64
- runner: macos-14
target: aarch64
module:
- arro3-core
- arro3-compute
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -97,27 +106,32 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --manifest-path arro3-core/Cargo.toml
args: --release --out dist --manifest-path ${{ matrix.module }}/Cargo.toml
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.platform.target }}
name: wheels-macos-${{ matrix.platform.target }}-${{ matrix.module }}
path: dist

sdist:
runs-on: ubuntu-latest
strategy:
matrix:
module:
- arro3-core
- arro3-compute
steps:
- uses: actions/checkout@v4
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist --manifest-path arro3-core/Cargo.toml
args: --out dist --manifest-path ${{ matrix.module }}/Cargo.toml
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
name: wheels-sdist
name: wheels-sdist-${{ matrix.module }}
path: dist

# release:
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[workspace]
members = ["arro3-compute", "arro3-core", "arro3-internal"]
resolver = "2"

[workspace.dependencies]
arrow = { version = "52", features = ["ffi"] }
Expand Down
Loading