mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
[libc++] Fix sed pattern to extract benchmarks from the comment body
This commit is contained in:
4
.github/workflows/libcxx-run-benchmarks.yml
vendored
4
.github/workflows/libcxx-run-benchmarks.yml
vendored
@@ -48,13 +48,13 @@ jobs:
|
||||
|
||||
- name: Run baseline
|
||||
run: |
|
||||
BENCHMARKS=$(echo "${COMMENT_BODY}" | sed -n 's/\/libcxx-bot benchmark (.+)/\1/p')
|
||||
BENCHMARKS=$(echo "${COMMENT_BODY}" | sed -nE 's/\/libcxx-bot benchmark (.+)/\1/p')
|
||||
baseline_commit=$(git merge-base refs/remotes/origin/${GITHUB_BASE_REF} ${GITHUB_SHA})
|
||||
./libcxx/utils/test-at-commit --commit ${baseline_commit} -B build/baseline -- -sv -j1 --param optimization=speed ${BENCHMARKS}
|
||||
|
||||
- name: Run candidate
|
||||
run: |
|
||||
BENCHMARKS=$(echo "${COMMENT_BODY}" | sed -n 's/\/libcxx-bot benchmark (.+)/\1/p')
|
||||
BENCHMARKS=$(echo "${COMMENT_BODY}" | sed -nE 's/\/libcxx-bot benchmark (.+)/\1/p')
|
||||
./libcxx/utils/test-at-commit --commit ${GITHUB_SHA} -B build/candidate -- -sv -j1 --param optimization=speed ${BENCHMARKS}
|
||||
|
||||
- name: Compare baseline and candidate runs
|
||||
|
||||
Reference in New Issue
Block a user