Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,33 @@ jobs:
working-directory: example
run: cargo r --release --manifest-path ../go-runner/Cargo.toml -- test -bench=. ${{ matrix.target }}

go-runner-benchmarks:
runs-on: codspeed-macro
steps:
- uses: actions/checkout@v4
with:
lfs: true
submodules: true
- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@v1
with:
channel: stable
cache-target: release
bins: cargo-codspeed

- uses: actions/setup-go@v5
with:
go-version: '1.25'

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

- name: Run the benchmarks
uses: CodSpeedHQ/action@v4
with:
mode: walltime
run: cargo codspeed run

check:
runs-on: ubuntu-latest
if: always()
Expand All @@ -94,6 +121,7 @@ jobs:
- tests
- verify-fork-scripts
- compat-integration-test-walltime
- go-runner-benchmarks
steps:
- uses: re-actors/alls-green@release/v1
with:
Expand Down
Loading
Loading