Skip to content

Commit

Permalink
Merge pull request #56 from net-tech/nettech/refactor/seperate-into-f…
Browse files Browse the repository at this point in the history
…uncs-and-add-tests
  • Loading branch information
net-tech authored Oct 17, 2023
2 parents 7c577b7 + cc33ede commit 787f7c0
Show file tree
Hide file tree
Showing 7 changed files with 27,553 additions and 238 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: codspeed-benchmarks

on:
push:
branches:
- "master"
pull_request:
workflow_dispatch:

jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@v0
with:
channel: stable
cache-target: release
bins: cargo-codspeed

- name: Build the benchmark target(s)
run: cargo codspeed build

- name: Run the benchmarks
uses: CodSpeedHQ/action@v1
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
Loading

0 comments on commit 787f7c0

Please sign in to comment.