CLI: inline font download + checksum verification
- Add `fonts download` and `fonts verify` subcommands - Implement Rust-based downloader (ureq + tar + flate2) with pinned sources - Verify SHA-256 for Liberation and Noto Sans TTFs for reproducibility - Keep binary behind `build-bin` feature; library build unaffected
This commit is contained in:
@@ -106,8 +106,8 @@ jobs:
|
||||
brew update
|
||||
brew install pkg-config freetype jpeg libpng
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --all-features --verbose
|
||||
- name: Run tests (library only)
|
||||
run: cargo test --verbose --lib
|
||||
|
||||
build:
|
||||
name: Build Release Artifacts
|
||||
@@ -169,9 +169,9 @@ jobs:
|
||||
- name: Build release binary
|
||||
run: |
|
||||
if [ "${{ matrix.job.use-cross }}" = "true" ]; then
|
||||
cross build --release --target ${{ matrix.job.target }} --all-features
|
||||
cross build --release --target ${{ matrix.job.target }}
|
||||
else
|
||||
cargo build --release --target ${{ matrix.job.target }} --all-features
|
||||
cargo build --release --target ${{ matrix.job.target }}
|
||||
fi
|
||||
|
||||
- name: Prepare release archive
|
||||
|
||||
Reference in New Issue
Block a user