Github actions for main branch

Hope this works
This commit is contained in:
Ryan Johnson 2022-09-04 01:43:52 -07:00 committed by GitHub
parent 2ee96056a7
commit 63f49ad5c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,26 @@
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Build on ${{ matrix.os }}
run: cargo build --verbose
- name: Run tests on ${{ matrix.os }}
run: cargo test --verbose