feat(imaging): add pure-Rust Skia backend (#112)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user