File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CodSpeed Benchmarks
2+ on :
3+ push :
4+ branches : ["main"]
5+ pull_request :
6+ branches : ["main"]
7+ merge_group :
8+ workflow_dispatch :
9+
10+ env :
11+ CARGO_TERM_COLOR : always
12+ RUST_BACKTRACE : 1
13+ # RUST_TEST_TIME_UNIT: 10,30
14+ # RUST_TEST_TIME_INTEGRATION: 10,30
15+ # RUST_TEST_TIME_DOCTEST: 10,30
16+
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.ref_name }}
19+ cancel-in-progress : true
20+
21+ permissions :
22+ contents : read
23+
24+ defaults :
25+ run :
26+ shell : bash
27+
28+ jobs :
29+ benchmarks :
30+ name : Run benchmarks
31+ runs-on : ubuntu-latest
32+ steps :
33+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
34+ with :
35+ persist-credentials : false
36+
37+ - uses : ./.github/actions/rust
38+ with :
39+ version : stable
40+ token : ${{ secrets.GITHUB_TOKEN }}
41+
42+ - id : nss-version
43+ run : echo "minimum=$(cat neqo-crypto/min_version.txt)" >> "$GITHUB_OUTPUT"
44+
45+ - uses : ./.github/actions/nss
46+ with :
47+ minimum-version : ${{ steps.nss-version.outputs.minimum }}
48+
49+ - name : Run the benchmarks
50+ uses : CodSpeedHQ/action@4348f634fa7309fe23aac9502e88b999ec90a164 # v4.3.1
51+ with :
52+ mode : instrumentation
53+ run : cargo codspeed run --features bench
54+ token : ${{ secrets.CODSPEED_TOKEN }}
You can’t perform that action at this time.
0 commit comments