| 1 | #!/usr/bin/env bash |
| 2 | # run CI-like set of tests |
| 3 | set -eu |
| 4 | |
| 5 | dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
| 6 | cd "$dir" |
| 7 | |
| 8 | echo "==> test" |
| 9 | cargo test |
| 10 | |
| 11 | echo "==> no_std" |
| 12 | cargo build --target thumbv6m-none-eabi --no-default-features --features "no-std-float variable-fonts opentype-layout glyph-names" |
| 13 | |
| 14 | echo "==> rustfmt" |
| 15 | cargo fmt -- --check |