Redo vendoring, minimize differences from upstream #35
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: Build test | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt-get install --no-install-recommends -y libtesseract-dev imagemagick tesseract-ocr-eng fonts-liberation2 | |
- name: Refresh font cache | |
run: sudo fc-cache -v | |
- name: Setup Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Build | |
run: cargo build --locked | |
- name: Test | |
run: cargo test |