Create rust.yml

Migrating to GitHub actions for CI builds
This commit is contained in:
Simon Johnston
2020-10-28 09:36:58 -07:00
committed by GitHub
parent 8de2a3f065
commit 5757440ac9
+24
View File
@@ -0,0 +1,24 @@
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: Build docs
run: cargo doc --verbose --no-deps
- name: Run tests
run: cargo test --verbose