From 9bf7af63a5af82b81f771657defd9fff40aa99c4 Mon Sep 17 00:00:00 2001 From: p-x9 <50244599+p-x9@users.noreply.github.com> Date: Tue, 21 Jul 2026 00:40:54 +0900 Subject: [PATCH] Fix benchmark workflow package identity --- .github/workflows/benchmark.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 7e75551..e01d0ab 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -51,14 +51,16 @@ jobs: - name: Checkout candidate uses: actions/checkout@v4 with: - path: candidate + # Benchmarks uses `.package(path: "..")` with the MachOKit identity. + path: candidate/MachOKit - name: Checkout baseline if: inputs.mode == 'compare' uses: actions/checkout@v4 with: ref: ${{ inputs.baseline_ref }} - path: baseline + # Keep the local package identity consistent with the candidate. + path: baseline/MachOKit - name: Select Xcode 16.2 run: sudo xcode-select -s /Applications/Xcode_16.2.app @@ -66,11 +68,11 @@ jobs: - name: Run benchmark workflow shell: bash env: - CANDIDATE_ROOT: ${{ github.workspace }}/candidate - BASELINE_ROOT: ${{ github.workspace }}/baseline + CANDIDATE_ROOT: ${{ github.workspace }}/candidate/MachOKit + BASELINE_ROOT: ${{ github.workspace }}/baseline/MachOKit BENCHMARK_RESULTS_DIR: ${{ runner.temp }}/benchmark-results MACHOKIT_BENCH_MACHO: ${{ runner.temp }}/MachOKitBenchmarks-fixture - run: bash candidate/scripts/benchmark.sh + run: bash candidate/MachOKit/scripts/benchmark.sh - name: Upload benchmark results if: always()