Skip to content

add ci testing

add ci testing #21

Workflow file for this run

name: Build test
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get install --no-install-recommends -y libtesseract-dev imagemagick
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v3
- name: Build
run: cargo build --locked
- name: Test
run: cargo test