File tree Expand file tree Collapse file tree 1 file changed +4
-30
lines changed Expand file tree Collapse file tree 1 file changed +4
-30
lines changed Original file line number Diff line number Diff line change @@ -34,37 +34,11 @@ jobs:
34
34
if : github.ref == 'refs/heads/master' || github.ref == 'refs/heads/deploy'
35
35
36
36
test_benchmarks :
37
+ strategy :
38
+ matrix :
39
+ BENCH_INCLUDE_EXCLUDE_OPTS : ["--exclude script-servo", "--include script-servo"]
37
40
name : Test benchmarks
38
41
runs-on : ubuntu-latest
39
- steps :
40
- - name : Checkout the source code
41
- uses : actions/checkout@v2
42
- with :
43
- fetch-depth : 1
44
-
45
- - name : Install latest beta
46
- uses : actions-rs/toolchain@v1
47
- with :
48
- toolchain : beta
49
- override : true
50
-
51
- - name : Configure environment
52
- run : |
53
- sudo apt-get update
54
- sudo apt-get install -y linux-tools-common linux-tools-generic linux-tools-`uname -r`
55
- echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
56
-
57
- - name : Build collector
58
- run : cargo build -p collector
59
-
60
- - name : Check benchmarks
61
- run : sh -x -c "ci/check-benchmarks.sh"
62
- env :
63
- BENCH_INCLUDE_EXCLUDE_OPTS : " --exclude script-servo"
64
-
65
- test_script_servo :
66
- name : Test benchmark script-servo
67
- runs-on : ubuntu-latest
68
42
steps :
69
43
- name : Checkout the source code
70
44
uses : actions/checkout@v2
92
66
- name : Check benchmarks
93
67
run : sh -x -c "ci/check-benchmarks.sh"
94
68
env :
95
- BENCH_INCLUDE_EXCLUDE_OPTS : " --include script-servo "
69
+ BENCH_INCLUDE_EXCLUDE_OPTS : ${{ matrix.BENCH_INCLUDE_EXCLUDE_OPTS }}
96
70
SHELL : " /bin/bash"
97
71
98
72
test_profiling :
You can’t perform that action at this time.
0 commit comments