Create rust.yaml

This commit is contained in:
Yannick Funk
2021-09-06 16:28:33 +02:00
committed by GitHub
parent 5328c66cbb
commit 6813fdd513

24
.github/workflows/rust.yaml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Rust build and test
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
- name: Release Build
run: cargo build --release --verbose