Skip to content

Commit

Permalink
Update subsystem-benchmarks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mordamax committed Aug 12, 2024
1 parent b74797c commit a12b5b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/subsystem-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
runs-on: arc-runners-beefy-stg # arc-runners-polkadot-sdk-benchmark
container:
image: ${{ needs.set-image.outputs.IMAGE }}
options: --user 1001
env:
BENCH_DIR: ./charts/bench/${{ matrix.features.bench }}
BENCH_FILE_NAME: ${{ matrix.features.bench }}
Expand All @@ -62,13 +63,13 @@ jobs:
continue-on-error: true
id: run-benchmarks
run: |
cargo bench -p ${{ matrix.features.name }} --bench ${{ matrix.features.bench }} --features subsystem-benchmarks || echo "Benchmarks failed"
folklift cargo bench -p ${{ matrix.features.name }} --bench ${{ matrix.features.bench }} --features subsystem-benchmarks || echo "Benchmarks failed"
ls -lsa ./charts
mkdir -p $BENCH_DIR || echo "Directory exists"
cp charts/${BENCH_FILE_NAME}.json $BENCH_DIR
ls -lsa $BENCH_DIR
# Fixes "detected dubious ownership" error in the ci
git config --global --add safe.directory '*'
# git config --global --add safe.directory '*'
- name: Publish result to GH Pages
if: ${{ steps.run-benchmarks.outcome == 'success' }}
Expand Down

0 comments on commit a12b5b1

Please sign in to comment.