Skip to content

Commit 3a91118

Browse files
committed
Make the Windows benchmark work for free-threaded Python, which doesn't
build 'python.exe' but only 'python3.14t.exe'.
1 parent 0371837 commit 3a91118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bench_runner/templates/_benchmark.src.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
- name: Running pyperformance
127127
if: ${{ steps.should_run.outputs.should_run != 'false' }}
128128
run: |
129-
venv\Scripts\python.exe -m bench_runner run_benchmarks benchmark cpython\$env:BUILD_DEST\python.exe ${{ inputs.fork }} ${{ inputs.ref }} ${{ inputs.benchmarks || 'all' }} "${{ env.flags }}" --run_id ${{ github.run_id }}
129+
venv\Scripts\python.exe -m bench_runner run_benchmarks benchmark ${{ (inputs.nogil == true && '(get-item cpython/$env:BUILD_DEST/python3.*.exe).FullName' || 'cpython/$env:BUILD_DEST/python.exe' }} ${{ inputs.fork }} ${{ inputs.ref }} ${{ inputs.benchmarks || 'all' }} "${{ env.flags }}" --run_id ${{ github.run_id }}
130130
# Pull again, since another job may have committed results in the meantime
131131
- name: Pull benchmarking
132132
if: ${{ steps.should_run.outputs.should_run != 'false' }}

0 commit comments

Comments
 (0)