Skip to content

Commit

Permalink
ci: try configuring cross? this isn't very much fun 😢
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Oct 21, 2024
1 parent 34e056d commit 3351232
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ jobs:
target: ${{ matrix.target }}
manylinux: ${{ matrix.manylinux }}
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10' }} --manifest-path python/Cargo.toml
before-script-linux: sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@ stac = { workspace = true, features = [
stac-api = { workspace = true, features = ["client"] }
stac-duckdb.workspace = true
tokio = { workspace = true, features = ["rt"] }

[package.metadata.cross.target.x86_64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH",
]

0 comments on commit 3351232

Please sign in to comment.