Disable tesseract_5_2 feature on docs.rs #42
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: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- 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: Run tests | |
run: cargo test --verbose --no-default-features | |
- name: Check formatting | |
run: cargo fmt -- --check |