Skip to content

Commit

Permalink
Benchcomp perf regression: move setup into run
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Jul 24, 2024
1 parent f938676 commit c1bc1ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,6 @@ jobs:
ref: ${{ env.NEW_REF }}
fetch-depth: 1

- name: Set up Kani Dependencies (old variant)
uses: ./old/.github/actions/setup
with:
os: ubuntu-20.04
kani_dir: old

- name: Set up Kani Dependencies (new variant)
uses: ./new/.github/actions/setup
with:
os: ubuntu-20.04
kani_dir: new

- name: Copy benchmarks from new to old
run: rm -rf ./old/tests/perf ; cp -r ./new/tests/perf ./old/tests/

Expand Down
4 changes: 2 additions & 2 deletions tools/benchcomp/configs/perf-regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ variants:
kani_new:
config:
directory: new
command_line: scripts/kani-perf.sh
command_line: ".github/actions/setup && scripts/kani-perf.sh"
env:
RUST_TEST_THREADS: "1"
kani_old:
config:
directory: old
command_line: scripts/kani-perf.sh
command_line: ".github/actions/setup && scripts/kani-perf.sh"
env:
RUST_TEST_THREADS: "1"

Expand Down

0 comments on commit c1bc1ee

Please sign in to comment.