From 15147842623c8ba3f16f68ca67b31dae04311ce2 Mon Sep 17 00:00:00 2001 From: Wim Pomp Date: Sat, 9 May 2026 17:39:50 +0200 Subject: [PATCH] - workflow updates --- .github/workflows/publish_pypi.yml | 28 ++++++++++++++++++---------- README.md | 1 + 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index d0a0015..ce37037 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -40,6 +40,14 @@ jobs: fi shell: bash + - name: Install clang + run: | + if ! command -v clang >/dev/null 2>&1; then + sudo apt update + sudo apt install -y clang + fi + shell: bash + - name: Install Rust run: | export PATH="$HOME/.cargo/bin:$PATH" @@ -89,18 +97,18 @@ jobs: rustup target add aarch64-unknown-linux-gnu maturin build --release --out dist --target aarch64-unknown-linux-gnu --zig -# rustup target add x86_64-pc-windows-msvc -# maturin build --release --out dist --target x86_64-pc-windows-msvc -# rustup target add aarch64-pc-windows-msvc -# maturin build --release --out dist --target aarch64-pc-windows-msvc -# -# rustup target add x86_64-apple-darwin -# maturin build --release --out dist --target x86_64-apple-darwin --zig -# rustup target add aarch64-apple-darwin -# maturin build --release --out dist --target aarch64-apple-darwin --zig + rustup target add x86_64-pc-windows-msvc + maturin build --release --out dist --target x86_64-pc-windows-msvc + rustup target add aarch64-pc-windows-msvc + maturin build --release --out dist --target aarch64-pc-windows-msvc + + rustup target add x86_64-apple-darwin + maturin build --release --out dist --target x86_64-apple-darwin --zig + rustup target add aarch64-apple-darwin + maturin build --release --out dist --target aarch64-apple-darwin --zig - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: https://github.com/christopherHX/gitea-upload-artifact@v4 with: name: wheels* path: dist diff --git a/README.md b/README.md index 17f5199..e7542cf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![pytest](https://git.wimpomp.nl/wim/tiffwrite/actions/workflows/pytest.yml/badge.svg)](https://git.wimpomp.nl/wim/tiffwrite/actions/workflows/pytest.yml) +[![cargo test](https://git.wimpomp.nl/wim/tiffwrite/actions/workflows/cargo_test.yml/badge.svg)](https://git.wimpomp.nl/wim/tiffwrite/actions/workflows/cargo_test.yml) # Tiffwrite Write BioFormats/ImageJ compatible tiffs with zstd compression in parallel using Rust.