Create rust.yml

This commit is contained in:
Francesco Guardiani 2020-02-25 15:01:32 +01:00 committed by GitHub
parent f535601451
commit e91622efdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

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

@ -0,0 +1,21 @@
name: Rust
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/cargo@v1
with:
command: build
args: --all-features
toolchain: stable
target: x86_64-unknown-linux-gnu
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
toolchain: stable
target: x86_64-unknown-linux-gnu