Create rust.yml (#3)

+ added a workflow file for CI
This commit is contained in:
michael bailey 2021-04-13 21:54:20 +01:00 committed by GitHub
parent c4d3270026
commit f43ceb07df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

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

@ -0,0 +1,25 @@
name: Rust
on:
push:
branches: [ ref-method ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: check
run: cargo check --verbose
- name: Build
run: cargo build --verbose