CI: build and test (#1)
This commit is contained in:
parent
199bf37638
commit
056471c0eb
2 changed files with 22 additions and 68 deletions
20
.github/workflows/ci.yml
vendored
Normal file
20
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: build
|
||||
run: cargo build --verbose
|
||||
- name: test
|
||||
run: cargo test --verbose
|
Loading…
Add table
Add a link
Reference in a new issue