Skip to content

Commit

Permalink
chore: add github ci (sriram98v#24)
Browse files Browse the repository at this point in the history
This avoids running the benchmarks because these should either be
configured to run from a different github script and uploaded or only
ran locally.
  • Loading branch information
sno2 authored Oct 23, 2024
1 parent cbd504b commit 6e41296
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: ci
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Lint, build, test, and build benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- run: cargo clippy --all-targets --all-features
- run: cargo build
- run: cargo test
- run: cargo bench --no-run

0 comments on commit 6e41296

Please sign in to comment.