feat(imaging): add pure-Rust Skia backend (#112)
Some checks failed
CI / rust-skia (Rust only) (push) Successful in 2m48s
CI / required (push) Failing after 3m25s

This commit is contained in:
2026-08-13 07:49:37 +00:00
parent e1744f44bb
commit 8c18b2ac8c
46 changed files with 4301 additions and 148 deletions

View File

@@ -16,6 +16,35 @@ concurrency:
cancel-in-progress: true
jobs:
rust-skia:
name: rust-skia (Rust only)
runs-on: ubuntu-latest
timeout-minutes: 15
env:
CARGO_BUILD_JOBS: "1"
CARGO_INCREMENTAL: "0"
CARGO_PROFILE_DEV_DEBUG: "0"
CARGO_PROFILE_TEST_DEBUG: "0"
steps:
- uses: actions/checkout@v4
# Deliberately do not install CMake, Clang, pkg-config, Skia, WebP, or
# any other native codec prerequisite in this job.
- name: Install pinned Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.97.1
targets: wasm32-unknown-unknown
- name: Test the pure-Rust Skia-compatible extension
run: cargo test --locked -j 1 -p libremetaverse-imaging-skia --no-default-features --features rust-skia
- name: Audit the normal and build dependency graph
run: cargo tree --locked -p libremetaverse-imaging-skia --no-default-features --features rust-skia -e normal,build
- name: Compile the same Rust codec for WASM
run: cargo check --locked -j 1 -p libremetaverse-imaging-skia --no-default-features --features rust-skia --target wasm32-unknown-unknown
required:
name: required
runs-on: ubuntu-latest