Skip to content

Commit a2c7322

Browse files
added --target-dir to kani output
1 parent ee45c1c commit a2c7322

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/goto-transcoder.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ jobs:
3030

3131
# Step 2: Generate contracts programs
3232
- name: Generate contracts
33-
run: ./scripts/run-kani.sh --kani-args --keep-temps --only-codegen
33+
run: ./scripts/run-kani.sh --kani-args --keep-temps --only-codegen --target-dir contracts
34+
35+
# Debug: Check contracts
36+
- name: List contracts found
37+
run: ls contracts
3438

3539
# Step 3: Run goto-transcoder
3640
- name: Run goto-transcoder
37-
run: ./scripts/run-goto-transcoder.sh checked_unchecked.*.out
41+
run: ./scripts/run-goto-transcoder.sh contracts checked_unchecked.*.out

scripts/run-goto-transcoder.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ set -e
55
##############
66
# PARAMETERS #
77
##############
8-
contract_folder=target/kani_verify_std/target/x86_64-unknown-linux-gnu/debug/deps
9-
supported_regex=$1
8+
contract_folder=$1
9+
supported_regex=$2
1010
unsupported_regex=neg
1111

1212
goto_transcoder_git=https://github.com/rafaelsamenezes/goto-transcoder

0 commit comments

Comments
 (0)