Skip to content

Convert CI release job to use a Matrix - #1133

Merged
nicoburns merged 1 commit into
linebender:mainfrom
nicoburns:devin/1788865643-release-matrix
Sep 9, 2026
Merged

nicoburns merged 1 commit into
linebender:mainfrom
nicoburns:devin/1788865643-release-matrix

Conversation

@nicoburns

Copy link
Copy Markdown
Collaborator

Some CI cleanup suggested by LLM review of #1132. Has been verified as working on my fork.

Changes made

  • Collapse the six per-platform release-* jobs into one release-binaries matrix job over {linux, win, macos} × {x86_64, aarch64}. Asset names are derived from the matrix (resvg-$SUFFIX.{tar.gz,zip}). This renamea resvg-win64.zip / usvg-win64.zip to resvg-win-x86_64.zip / usvg-win-x86_64.zip to match the linux-* / macos-* / win-aarch64 naming. This is a breaking change for anyone scripting downloads of the old names.
  • Drop the crates/c-api release builds (and the ilammy/msvc-dev-cmd step): their output was never collected or uploaded, so they only cost CI time.
  • Split the vendored sources archive and the Windows Explorer thumbnailer into their own jobs
  • Upload assets with softprops/action-gh-release@v3 files: (already used to create the release) instead of the third-party alexellis/upload-assets.

- Collapse the six per-platform jobs into one matrix job over
  {linux,win,macos} x {x86_64,aarch64}
- Move the vendored sources archive and the Explorer thumbnailer into
  their own jobs
- Upload assets with softprops/action-gh-release (already used to create
  the release) instead of alexellis/upload-assets
- Rename resvg-win64.zip / usvg-win64.zip to resvg-win-x86_64.zip /
  usvg-win-x86_64.zip to match the other platforms
- Drop the C API builds, whose output was never uploaded
@nicoburns
nicoburns requested a review from LaurenzV September 8, 2026 11:28

@LaurenzV LaurenzV left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you've tested it LGTM!

@nicoburns
nicoburns merged commit 2f1aa34 into linebender:main Sep 9, 2026
5 checks passed
HiroyukiFuruno added a commit to HiroyukiFuruno/katana-resvg that referenced this pull request Oct 25, 2026
* Update Windows release runner to `windows-latest` (linebender#1113)

* c-api: add missing SVGZ error enum (linebender#1122)

Add the missing `RESVG_ERROR_SVGZ_UNSUPPORTED` enum value to `resvg.h`
so the C API enum values remain in sync with the Rust definition and
subsequent error codes are not shifted.

While we're here, simplify this enum description (as the `svgz` feature
is enabled by default) and add the corresponding Qt error string in
`ResvgQt.h`.

Fixes: linebender#1112.

---

Verified against wasm-vips with this sed substitution:

https://github.com/kleisauke/wasm-vips/blob/8f38cbbb70d7536bd0f3d70e308c501cbe4f2e22/build.sh#L442-L443

* Add regression test for `fr` resolution in referenced radial gradients (linebender#1123)

As requested in linebender#1098

* fix(usvg): use the viewport as the bbox of a sliced <image> (linebender#1077)

* Add aarch64 release artifacts for Linux and Windows (linebender#1132)

Adds native aarch64 builds to the release workflow.

- **Linux aarch64** on the `ubuntu-24.04-arm` runner →
`resvg-linux-aarch64.tar.gz`, `usvg-linux-aarch64.tar.gz`
- **Windows aarch64** on the `windows-11-arm` runner →
`resvg-win-aarch64.zip`, `usvg-win-aarch64.zip`

Updates the workflow's actions, two of which still declared the
end-of-life node12 runtime:

- `alexellis/upload-assets` 0.2.2 → 0.5.0 (node12 → node24)
- `battila7/get-version-action` removed — unmaintained since 2021 and
node12; the workflow only triggers on `v*` tags, so the version is just
`${GITHUB_REF_NAME#v}`
- `actions/checkout` v2 → v7, `softprops/action-gh-release` v2 → v3

Renames the existing job to explicitly say `x86_64` and differentiate
`aarch64`

Closes linebender#968

* Convert CI release job to use a Matrix (linebender#1133)

Some CI cleanup suggested by LLM review of
linebender#1132. Has been verified as
working on my fork.

## Changes made

- Collapse the six per-platform release-* jobs into one release-binaries
matrix job over {linux, win, macos} × {x86_64, aarch64}. Asset names are
derived from the matrix (`resvg-$SUFFIX.{tar.gz,zip}`). This renamea
`resvg-win64.zip` / `usvg-win64.zip` to `resvg-win-x86_64.zip` /
`usvg-win-x86_64.zip` to match the linux-* / macos-* / win-aarch64
naming. This is a breaking change for anyone scripting downloads of the
old names.
- Drop the crates/c-api release builds (and the ilammy/msvc-dev-cmd
step): their output was never collected or uploaded, so they only cost
CI time.
- Split the vendored sources archive and the Windows Explorer
thumbnailer into their own jobs
- Upload assets with `softprops/action-gh-release@v3` files: (already
used to create the release) instead of the third-party
`alexellis/upload-assets`.

* tests: load test fonts in a deterministic order (linebender#1136)

`fontdb::load_fonts_dir` walks the directory with `std::fs::read_dir`,
which outputs entries in filesystem order. That order is not stable
across machines, and the test harness depends on it.

Replace `load_fonts_dir` with an explicit sorted list so order is
identical everywhere. The whole suite passes unchanged, so no stored
reference image depended on the previous ordering.

* fix(usvg): inherit `gradientTransform` and `patternTransform` via `href` (linebender#1135)

* Inherit `dominant-baseline` into nested `<tspan>` elements (linebender#1086)

* Fix bug in filter chains with different filter regions (linebender#1144)

* Add support for `plus-lighter` and `lighter` (linebender#1142)

* Apply root SVG transform after the `viewBox` mapping (linebender#1085)

* Add `--query-bbox` to CLI (linebender#1050)

* Support floating point viewbox in resvg binary (linebender#875)

* Fix `feMorphology` kernel size and radius rounding (linebender#1120)

* Bug fixes for RTL text and `dx`/`dy` (linebender#1145)

* Fix font fallback logging and avoid repeated lookups (linebender#1154)

* Fix rendering of filters with skews and rotations (linebender#1155)

* Fix marker viewport clipping with preserveAspectRatio (linebender#1163)

* Resolve paint servers in masks, patterns and `feImage` before caching (linebender#1164)

* Optimize clipped layers (linebender#1158)

* Remove reference to nonexistent check.py from tests README (linebender#1181)

* Install ResvgQt.h with cargo-c (linebender#1182)

* Prepare v0.49.0 release (linebender#1183)

* fix: Windowsサムネイルの依存版を0.49へ揃える Refs #1

---------

Co-authored-by: TheBestWebsite <[email protected]>
Co-authored-by: Kleis Auke Wolthuizen <[email protected]>
Co-authored-by: Tim Voßhenrich <[email protected]>
Co-authored-by: Stefano <[email protected]>
Co-authored-by: Chongyi Zheng <[email protected]>
Co-authored-by: Nico Burns <[email protected]>
Co-authored-by: Luis de Bethencourt <[email protected]>
Co-authored-by: Quaylyn Rimer <[email protected]>
Co-authored-by: Teo Mal <[email protected]>
Co-authored-by: Matt Hargett <[email protected]>
Co-authored-by: Simon Ser <[email protected]>
Co-authored-by: Jeremy James <[email protected]>
Co-authored-by: WaterWhisperer <[email protected]>
Co-authored-by: Laurenz Stampfl <[email protected]>
Co-authored-by: Cees-Kettenis <[email protected]>
Co-authored-by: Rodrigue Villetard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants