1
0
Fork 0

Create GitHub action for building project

Tries to build on all three platforms we're targeting (Linux, Windows, MacOS)
This commit is contained in:
Charles Saracco 2020-05-25 18:23:47 -04:00 committed by GitHub
parent 2294fdb28d
commit 303082bd6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
.github/workflows/rust.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Rust
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- name: install rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose