Added GitHub Action workflow for Rust

This allows for automated build & test of the library.
This commit is contained in:
Funtowicz Morgan
2019-11-26 09:47:48 +00:00
committed by GitHub
parent f4369b312d
commit 5c6834f363

20
.github/workflows/rust.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Rust
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- name: Moving to tokenizers folder
run: cd tokenizers
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose