Create rust.yml

This commit is contained in:
Shibe Drill 2023-10-07 22:57:40 -04:00 committed by GitHub
parent 2442f0747d
commit a418ba1bac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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