Saturate AAT kerning position accumulation (#400) #1218
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ["*.*.*"] | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-15] | |
| rust: [stable] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Build without std | |
| run: cargo build --no-default-features --features=libm | |
| - name: Build with std | |
| run: cargo build | |
| - name: MSRV Build (Rust 1.85) | |
| run: cargo +1.85 build | |
| - name: Run tests | |
| run: cargo test --verbose | |
| - name: Rustfmt | |
| run: cargo fmt --all -- --check | |
| - name: Clippy | |
| run: cargo clippy --all-features --all-targets -- -D warnings | |
| check-no-std: | |
| name: cargo check no std | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: install stable toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: 1.85 | |
| # Use a target without `std` to make sure we don't link to `std` | |
| target: thumbv7em-none-eabihf | |
| - name: cargo build harfrust | |
| run: cargo build -p harfrust --target thumbv7em-none-eabihf --no-default-features --features=libm | |