2021-12-06 00:33:50 +00:00
|
|
|
name: Rust
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2021-12-16 22:11:11 +00:00
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
2021-12-16 22:14:07 +00:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
2021-12-06 00:33:50 +00:00
|
|
|
- name: Build
|
2021-12-16 21:56:34 +00:00
|
|
|
run: cargo build --verbose
|
2021-12-06 00:33:50 +00:00
|
|
|
- name: Run tests
|
2021-12-16 21:56:34 +00:00
|
|
|
run: cargo test --verbose
|