add github workflow

This commit is contained in:
mii
2022-08-05 11:08:56 +09:00
parent e8d1f8d665
commit c91e18d276
3 changed files with 18 additions and 16 deletions

12
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,12 @@
on: [push]
jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo build --release --all-features