Skip to content

use self-hosted runner #11

use self-hosted runner

use self-hosted runner #11

Workflow file for this run

name: Benchmark
on:
push:
permissions:
contents: write
deployments: write
jobs:
benchmark:
name: rust benchmark
runs-on: benchmark
steps:
- uses: actions/checkout@v4
- name: Setup
run: |
source ci/rust-version.sh nightly
sudo apt update
sudo apt install protobuf-compiler -y
- name: Run benchmark
run: |
source ci/rust-version.sh all
cargo +$rust_nightly bench \
-p solana-sdk
-p solana-poh | tee output.txt
# - name: Store benchmark result
# uses: benchmark-action/github-action-benchmark@v1
# with:
# name: ${{matrix.pkg}}
# tool: "cargo"
# output-file-path: output.txt
# github-token: ${{ secrets.GITHUB_TOKEN }}
# auto-push: true