microsoft/qdk

Public

mirrored fromhttps://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
093ccfe61ad36cf37e941166f17d21c2a4bcd8f8

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/bench-reports.yml

41lines · modecode

1name: Benchmark Reports
2
3on:
4 schedule:
5 - cron: "0 0 * * MON"
6
7env:
8 CARGO_TERM_COLOR: always
9 NODE_VERSION: "18.17.1"
10 PYTHON_VERSION: "3.11"
11 RUST_TOOLCHAIN_VERSION: "1.82"
12
13jobs:
14 runBenchmark:
15 runs-on: ubuntu-latest
16 name: run benchmark
17 permissions:
18 contents: read
19 pull-requests: write
20 steps:
21 - uses: actions/checkout@v4
22 with:
23 fetch-depth: 0
24 ref: main
25 - uses: actions/setup-python@v4
26 with:
27 python-version: ${{ env.PYTHON_VERSION }}
28 - name: setup rust
29 uses: actions-rs/toolchain@v1
30 with:
31 toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
32 - name: setup cargo criterion
33 run: cargo install cargo-criterion
34 - name: run benching script
35 run: ./build.py --ci-bench --no-check-prereqs
36 - name: preserve bench artifacts
37 uses: actions/upload-artifact@v4
38 with:
39 name: benchmarks
40 path: |
41 *.json