mirror of
https://github.com/storytold/craft-fonts.git
synced 2026-10-22 18:22:08 +00:00
fonts/: Shippori Mincho Regular, BIZ UDPGothic Regular and Bold, BIZ UDMincho Regular, each byte-identical to its pinned upstream source, with its OFL licence (the copies previously bundled separately in DesignCraft, PrintCraft, VectorCraft and LightCraft). fonts/manifest.txt lists them with checksums. crates/craft-fonts: the manifest as a static table, CRAFT_FONTS_DIR discovery, loading, and an embed feature. crates/craft-fonts-tests: checksums, licences, family names, Japanese coverage and outlines, and vert/vrt2 vertical-text support. docs/integration.md: how apps use it as a fully optional build input (CRAFT_FONTS_DIR read by build.rs; never a Cargo dependency, because Cargo resolves even optional git dependencies). Co-Authored-By: Claude Opus 5.5 <[email protected]>
29 lines
684 B
YAML
29 lines
684 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@89b12181fb390509a0842a86cc55eeb8eb928c1d # stable
|
|
with:
|
|
components: rustfmt, clippy
|
|
- name: fmt
|
|
run: cargo fmt --all --check
|
|
- name: clippy
|
|
run: cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
|
|
- name: test
|
|
run: cargo test --workspace --locked
|
|
- name: test (embed)
|
|
run: cargo test -p craft-fonts --features embed --locked
|