Skip to content
Open
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
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.'cfg(target_os = "linux")']
rustflags = ["-C", "link-arg=-llzma"]
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
rustup toolchain uninstall stable && rustup toolchain install stable
rustup target add ${{ matrix.platform.target }}
python3 -m pip install --upgrade maturin
apt-get update && apt-get install -y liblzma-dev libunwind-dev libunwind8
maturin build --release -o dist --target ${{ matrix.platform.target }}
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -79,8 +80,6 @@ jobs:
strategy:
matrix:
platform:
- runner: macos-13
target: x86_64
- runner: macos-14
target: aarch64
steps:
Expand All @@ -106,7 +105,7 @@ jobs:
with:
command: sdist
args: --out dist
before-script-linux: sudo apt-get update && sudo apt-get install -y libunwind-dev libunwind8
before-script-linux: sudo apt-get update && sudo apt-get install -y libunwind-dev libunwind8 liblzma-dev
- name: Run tests
run: cargo test --verbose
- name: Upload sdist
Expand Down
Loading
Loading