Allsorts 0.15.0 #28
This file contains 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: CI | |
on: | |
push: | |
branches: ["master"] | |
tags: ["v[0-9]+.[0-9]+.[0-9]+"] | |
pull_request: | |
branches: ["master"] | |
workflow_dispatch: | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: [beta, stable, 1.66.0] | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
experimental: [false] | |
# Allow nightly jobs to fail without failing the workflow run. | |
include: | |
- rust: nightly | |
os: macos-latest | |
experimental: true | |
- rust: nightly | |
os: ubuntu-latest | |
experimental: true | |
- rust: nightly | |
os: windows-latest | |
experimental: true | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
components: rustfmt | |
- run: cargo test # check default features | |
- run: cargo test --features specimen # check with font-specimen | |
- run: cargo check --no-default-features --features flate2_zlib # Check without outline feature. | |
- run: cargo check --no-default-features --features flate2_rust |