Disable default features in tesseract-plumbing #26
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: Test | |
on: | |
push | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
default: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Version information | |
run: rustc --version; cargo --version | |
- name: Install tesseract | |
run: sudo apt-get install libleptonica-dev libtesseract-dev clang tesseract-ocr-eng | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build --verbose --no-default-features | |
- name: Lint code | |
run: cargo clippy --no-default-features | |
- name: Run tests | |
run: cargo test --verbose --no-default-features | |
- name: Check formatting | |
run: cargo fmt -- --check |