Add a GitHub Actions workflow for Ubuntu and Windows
This commit is contained in:
parent
7b11d64cf9
commit
f1b6e88f9f
|
@ -0,0 +1,20 @@
|
|||
name: Rust
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Check formatting
|
||||
run: cargo fmt --all -- --check
|
||||
- name: Build
|
||||
run: cargo build --verbose --release --all
|
||||
- name: Run tests
|
||||
run: cargo test --verbose --release --all
|
Loading…
Reference in New Issue