Skip to content

Commit

Permalink
Disable default features to avoid build issues
Browse files Browse the repository at this point in the history
```
5 | use self::tesseract_sys::TessBaseAPIInit5;
  |     ^^^^^^^^^^^^^^^^^^^^^----------------
  |     |                    |
  |     |                    help: a similar name exists in the module: `TessBaseAPIInit1`
  |     no `TessBaseAPIInit5` in the root
```

https://github.com/houqp/leptess/actions/runs/7589902627/job/20675452376

This will be because the environment github uses doesn't have the new version of tesseract.
  • Loading branch information
ccouzens committed Jan 19, 2024
1 parent 880b5c3 commit 707069a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
run: sudo apt-get install libleptonica-dev libtesseract-dev clang tesseract-ocr-eng
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
run: cargo build --verbose --no-default-features
- name: Lint code
run: cargo clippy
run: cargo clippy --no-default-features
- name: Run tests
run: cargo test --verbose
run: cargo test --verbose --no-default-features
- name: Check formatting
run: cargo fmt -- --check

0 comments on commit 707069a

Please sign in to comment.