Release 0.2.28 #257
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: Rust | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
RUST_BACKTRACE: 1 | |
steps: | |
- run: rustup update stable | |
- run: rustup target add thumbv6m-none-eabi | |
- run: rustup target add wasm32-unknown-unknown | |
- uses: actions/checkout@v4 | |
- run: cargo test | |
- run: cargo test --benches | |
- name: Build no_std ab_glyph_rasterizer | |
run: cargo build -p ab_glyph_rasterizer --target thumbv6m-none-eabi --no-default-features --features libm | |
- name: Build no_std ab_glyph | |
run: cargo build -p ab_glyph --target thumbv6m-none-eabi --no-default-features --features libm | |
- name: Build wasm32 ab_glyph_rasterizer | |
run: cargo build -p ab_glyph_rasterizer --target wasm32-unknown-unknown | |
- name: Build wasm32 ab_glyph | |
run: cargo build -p ab_glyph --target wasm32-unknown-unknown | |
rustfmt: | |
runs-on: ubuntu-latest | |
steps: | |
- run: rustup update stable | |
- uses: actions/checkout@v4 | |
- run: cargo fmt -- --check |