File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Benchmark
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+
7+ jobs :
8+ benchmark :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - name : Set up JDK
15+ uses : actions/setup-java@v4
16+ with :
17+ java-version : ' 23'
18+ distribution : ' temurin'
19+ cache : gradle
20+
21+ # https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#build-with-a-specific-gradle-version
22+ - name : Setup Gradle
23+ uses : gradle/actions/setup-gradle@v4
24+ with :
25+ gradle-version : ' 8.14.2' # Quotes required to prevent YAML converting to number
26+
27+ - name : Run benchmark
28+ run : gradle :benchmark:run
29+
30+ - name : Upload benchmark artifacts
31+ uses : actions/upload-artifact@v4
32+ with :
33+ name : benchmark-results
34+ path : |
35+ benchmark/benchmark_results_*.csv
36+ benchmark/benchmark_summary_*.txt
37+ retention-days : 30
You can’t perform that action at this time.
0 commit comments