File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Benchmark
2+ on :
3+ pull_request :
4+ branches :
5+ - main
6+ permissions :
7+ pull-requests : write # action needs to post a comment
8+
9+ jobs :
10+ benchmark :
11+ name : Julia ${{ matrix.version }} - ${{ matrix.platform.os }} - ${{ matrix.platform.arch }} - ${{ github.event_name }}
12+ runs-on : ${{ matrix.platform.os }}
13+ strategy :
14+ matrix :
15+ platform :
16+ - os : ubuntu-latest
17+ arch : x64
18+ - os : ubuntu-24.04-arm
19+ arch : aarch64
20+ version :
21+ - ' 1'
22+ - ' lts'
23+ steps :
24+ - uses : actions/checkout@v4
25+ - uses : julia-actions/setup-julia@v2
26+ with :
27+ version : ${{ matrix.version }}
28+ arch : ${{ matrix.platform.arch }}
29+ - name : Install dependencies
30+ run :
julia -e 'using Pkg; pkg"add PkgBenchmark [email protected] "' 31+ - name : Run benchmarks
32+ run : julia -e 'using BenchmarkCI; BenchmarkCI.judge(baseline = "origin/main")'
33+ - name : Post results
34+ run : julia -e 'using BenchmarkCI; BenchmarkCI.postjudge()'
35+ env :
36+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments