Add basic benchmarks and CI
This commit is contained in:
22
.github/workflows/benchmark.yaml
vendored
Normal file
22
.github/workflows/benchmark.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Benchmark
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
benchmark:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: 'true'
|
||||
submodules: 'recursive'
|
||||
- name: Install latest nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v3
|
||||
- name: Run Tests
|
||||
run: cargo bench
|
||||
Reference in New Issue
Block a user