mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Fixes the real time benchmark
First of all, the last successful build had been before opcache was made required - therefore the PHP_OPCACHE setting should be 2 to manually enable it. Then, the manual flow should comment on the PR of the triggering repo (github.repository), not the repo of the benchmarked code (env.REPOSITORY).
This commit is contained in:
parent
6f630a882d
commit
e8f88e746b
1 changed files with 2 additions and 2 deletions
4
.github/workflows/real-time-benchmark.yml
vendored
4
.github/workflows/real-time-benchmark.yml
vendored
|
@ -192,7 +192,7 @@ jobs:
|
||||||
PHP_BRANCH=${{ env.BRANCH }}
|
PHP_BRANCH=${{ env.BRANCH }}
|
||||||
PHP_COMMIT=$LAST_RESULT_SHA
|
PHP_COMMIT=$LAST_RESULT_SHA
|
||||||
|
|
||||||
PHP_OPCACHE=1
|
PHP_OPCACHE=2
|
||||||
PHP_JIT=0
|
PHP_JIT=0
|
||||||
EOF
|
EOF
|
||||||
- name: Setup PHP config - benchmarked PHP version
|
- name: Setup PHP config - benchmarked PHP version
|
||||||
|
@ -270,7 +270,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd ./php-version-benchmarks/tmp/php_${{ env.ID }}
|
cd ./php-version-benchmarks/tmp/php_${{ env.ID }}
|
||||||
NEWEST_RESULT_DIRECTORY=$(ls -td ${{ github.workspace }}/php-version-benchmarks/docs/results/${{ env.YEAR }}/*/ | head -1)
|
NEWEST_RESULT_DIRECTORY=$(ls -td ${{ github.workspace }}/php-version-benchmarks/docs/results/${{ env.YEAR }}/*/ | head -1)
|
||||||
gh pr comment ${{ inputs.pull_request }} --body-file "${NEWEST_RESULT_DIRECTORY}result.md" --repo ${{ env.REPOSITORY }}
|
gh pr comment ${{ inputs.pull_request }} --body-file "${NEWEST_RESULT_DIRECTORY}result.md" --repo ${{ github.repository }}
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue