add standard CI

master
Edward Shen 2021-07-09 20:11:43 -04:00
parent 5ab04a9e9c
commit 7b5738da8d
Signed by: edward
GPG Key ID: 19182661E818369F
1 changed files with 22 additions and 0 deletions

22
.github/workflows/build_and_test.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: build and test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose