Skip to content

Commit

Permalink
Improve subsetter (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV authored Jun 16, 2024
1 parent 2e7f604 commit 4e0058b
Show file tree
Hide file tree
Showing 62 changed files with 14,301 additions and 1,515 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,31 @@ name: Continuous integration
on: [push, pull_request]

jobs:
ci:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install fonttools
run: pip install fonttools==4.50
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --release
name: Build
- run: cargo test --release
name: Run tests

checks:
name: Check clippy, formatting, and documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack
- run: cargo clippy
- run: cargo fmt --check --all
- run: cargo doc --workspace --no-deps
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ desktop.ini
# Rust
/target
bench/target
Cargo.lock
debug
.idea

# Tests
tests/subsets
tests/ttx/*.otf
tests/ttx/*_ref.ttx
Loading

0 comments on commit 4e0058b

Please sign in to comment.