From ff02e98ce505f32af971de3dfb5c21f090a09d89 Mon Sep 17 00:00:00 2001 From: Raul Victor Trombin Date: Thu, 21 Nov 2024 20:25:40 -0300 Subject: [PATCH] test --- .github/workflows/action.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 44fb533fdf..1b3d731d7c 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -69,7 +69,7 @@ jobs: with: command: bench target: ${{ matrix.TARGET }} - args: "--no-run --bench bench" + args: "--bench bench --no-run -- --output-format bencher" - name: List benchmark files run: | echo "Available files in target directory:" @@ -123,11 +123,10 @@ jobs: run: | BENCH_BINARY=$(find ./bench-binary -type f -executable -name "bench-*" -not -name "*.d" | head -n 1) echo "Found benchmark binary: $BENCH_BINARY" - if [ -z "$BENCH_BINARY" ]; then - echo "No benchmark binary found!" - exit 1 - fi - $BENCH_BINARY --jobs 1 --bench bench -- --output-format bencher | tee output.txt || { echo "Benchmark failed"; exit 1; } + ls -l "$BENCH_BINARY" + file "$BENCH_BINARY" + echo "Running benchmark:" + "$BENCH_BINARY" --bench --output-format bencher | tee output.txt || { echo "Basic benchmark failed"; exit 1; } - name: Compare results & store cached results uses: benchmark-action/github-action-benchmark@v1.18.0 with: