File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -64,17 +64,21 @@ jobs:
64
64
path : repo # Avoid nuking the workspace, where we have the Python virtualenv
65
65
66
66
- name : Run baseline
67
+ env :
68
+ BENCHMARKS : ${{ steps.vars.outputs.benchmarks }}
67
69
run : |
68
70
source .venv/bin/activate && cd repo
69
71
python -m pip install -r libcxx/utils/requirements.txt
70
72
baseline_commit=$(git merge-base ${{ steps.vars.outputs.pr_base }} ${{ steps.vars.outputs.pr_head }})
71
- ./libcxx/utils/test-at-commit --commit ${baseline_commit} -B build/baseline -- -sv -j1 --param optimization=speed ${{ steps.vars.outputs.benchmarks }}
73
+ ./libcxx/utils/test-at-commit --commit ${baseline_commit} -B build/baseline -- -sv -j1 --param optimization=speed $BENCHMARKS
72
74
./libcxx/utils/consolidate-benchmarks build/baseline | tee baseline.lnt
73
75
74
76
- name : Run candidate
77
+ env :
78
+ BENCHMARKS : ${{ steps.vars.outputs.benchmarks }}
75
79
run : |
76
80
source .venv/bin/activate && cd repo
77
- ./libcxx/utils/test-at-commit --commit ${{ steps.vars.outputs.pr_head }} -B build/candidate -- -sv -j1 --param optimization=speed ${{ steps.vars.outputs.benchmarks }}
81
+ ./libcxx/utils/test-at-commit --commit ${{ steps.vars.outputs.pr_head }} -B build/candidate -- -sv -j1 --param optimization=speed $BENCHMARKS
78
82
./libcxx/utils/consolidate-benchmarks build/candidate | tee candidate.lnt
79
83
80
84
- name : Compare baseline and candidate runs
You can’t perform that action at this time.
0 commit comments