Create GitHub CI file cargo-build-and-test.yml

This commit is contained in:
Joakim Frostegård 2020-08-13 05:16:43 +02:00 committed by GitHub
parent 7c8729f256
commit 1d8ee05b19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,22 @@
name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose