Skip to content

Commit

Permalink
wheels for all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Jun 23, 2024
1 parent 5b9bea6 commit 43a25c2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
target: s390x
- runner: ubuntu-latest
target: ppc64le
cargo_path:
- arro3-core/Cargo.toml
- arro3-compute/Cargo.toml
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -43,7 +46,7 @@ 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.cargo_path }}
sccache: "true"
manylinux: auto
- name: Upload wheels
Expand All @@ -61,6 +64,9 @@ jobs:
target: x64
- runner: windows-latest
target: x86
cargo_path:
- arro3-core/Cargo.toml
- arro3-compute/Cargo.toml
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -71,7 +77,7 @@ 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.cargo_path }}
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -88,6 +94,9 @@ jobs:
target: x86_64
- runner: macos-14
target: aarch64
cargo_path:
- arro3-core/Cargo.toml
- arro3-compute/Cargo.toml
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -97,7 +106,7 @@ 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.cargo_path }}
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -107,13 +116,18 @@ jobs:

sdist:
runs-on: ubuntu-latest
strategy:
matrix:
cargo_path:
- arro3-core/Cargo.toml
- arro3-compute/Cargo.toml
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.cargo_path }}
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
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

0 comments on commit 43a25c2

Please sign in to comment.