Skip to content

Commit

Permalink
use self-hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau committed Jul 12, 2024
1 parent 84f4b5a commit 5bf263c
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,7 @@ permissions:
jobs:
benchmark:
name: rust benchmark
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
pkg:
- solana-runtime
- solana-gossip
- solana-poh
- solana-sdk
runs-on: benchmark
steps:
- uses: actions/checkout@v4

Expand All @@ -30,7 +22,9 @@ jobs:
- name: Run benchmark
run: |
source ci/rust-version.sh all
cargo +$rust_nightly bench -p ${{matrix.pkg}} | tee output.txt
cargo +$rust_nightly bench \
-p solana-sdk
-p solana-poh | tee output.txt
# - name: Store benchmark result
# uses: benchmark-action/github-action-benchmark@v1
Expand Down

0 comments on commit 5bf263c

Please sign in to comment.