Create rust.yml

This commit is contained in:
Rutger Schoorstra 2020-07-01 17:13:26 +02:00
parent 1b18c7902c
commit 76aab26b20
2 changed files with 23 additions and 1 deletions

View file

@ -1,4 +1,4 @@
name: Rust
name: Rust Windows
on:
push:

22
.github/workflows/rust.yml vendored Normal file
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