add standard CI
This commit is contained in:
parent
5ab04a9e9c
commit
7b5738da8d
1 changed files with 22 additions and 0 deletions
22
.github/workflows/build_and_test.yml
vendored
Normal file
22
.github/workflows/build_and_test.yml
vendored
Normal 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
|
Loading…
Reference in a new issue