Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulTrombin committed Nov 22, 2024
1 parent 0024376 commit ff02e98
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand Down Expand Up @@ -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/[email protected]
with:
Expand Down

0 comments on commit ff02e98

Please sign in to comment.