File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CodSpeed
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+ push :
8
+ branches :
9
+ - main
10
+ # `workflow_dispatch` allows CodSpeed to trigger backtest
11
+ # performance analysis in order to generate initial data.
12
+ workflow_dispatch :
13
+
14
+ jobs :
15
+ benchmarks :
16
+ name : Run benchmarks
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - name : Setup rust toolchain
20
+ uses : moonrepo/setup-rust@v1
21
+ with :
22
+ channel : 1.87
23
+ cache-target : release
24
+
25
+ - name : Install just
26
+ uses : extractions/setup-just@v3
27
+
28
+ - name : Checkout code
29
+ uses : actions/checkout@v3
30
+ with :
31
+ submodules : true
32
+
33
+ - name : Run CI Setup
34
+ run : just ci-setup
35
+
36
+ - name : Build the benchmark target(s)
37
+ run : cargo codspeed build
38
+
39
+ - name : Run benchmarks
40
+ uses : CodSpeedHQ/action@v3
41
+ with :
42
+ token : ${{ secrets.CODSPEED_TOKEN }}
43
+ run : cargo codspeed run
You can’t perform that action at this time.
0 commit comments