8000 fix(ci): correct benchmark paths in GitHub Actions workflow · unodb-dev/unodb@b8564ff · GitHub
[go: up one dir, main page]

Skip to content

Commit b8564ff

Browse files
fix(ci): correct benchmark paths in GitHub Actions workflow
The benchmarks workflow was looking for executables in the wrong directory. CMake's add_subdirectory(benchmark) creates executables in build/benchmark/, not build/. Update working-directory and output-file-path to use the correct locations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4403320 commit b8564ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/benchmarks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: make -j3 -k
5353

5454
- name: Run benchmarks
55-
working-directory: ${{github.workspace}}/build
55+
working-directory: ${{github.workspace}}/build/benchmark
5656
run: |
5757
./micro_benchmark_key_prefix --benchmark_out=benchmark_key_prefix.json --benchmark_out_format=json
5858
./micro_benchmark_n4 --benchmark_out=benchmark_n4.json --benchmark_out_format=json
@@ -64,7 +64,7 @@ jobs:
6464
./micro_benchmark_olc --benchmark_out=benchmark_olc.json --benchmark_out_format=json
6565
6666
- name: Combine benchmark results
67-
working-directory: ${{github.workspace}}/build
67+
working-directory: ${{github.workspace}}/build/benchmark
6868
run: |
6969
jq -s '{ benchmarks: map(.benchmarks) | add }' \
7070
benchmark_key_prefix.json benchmark_n4.json benchmark_n16.json \
@@ -76,7 +76,7 @@ jobs:
7676
with:
7777
name: UnoDB Benchmarks (${{matrix.arch}})
7878
tool: "googlecpp"
79-
output-file-path: build/benchmark_results.json
79+
output-file-path: build/benchmark/benchmark_results.json
8080
github-token: ${{ secrets.GITHUB_TOKEN }}
8181
auto-push: true
8282
alert-threshold: "200%"

0 commit comments

Comments
 (0)
0