File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 61
61
# by the other jobs already present in `pull-request-checks.yaml`.
62
62
- name : Run Rust API tests
63
63
run : |
64
+ VERSION=$(ruby -ne 'puts $~.captures if /^CBMC_VERSION\ =\ (\d+.\d+.\d+)$/' src/config.inc)
64
65
cd src/libcprover-rust;\
65
66
cargo clean;\
66
- CBMC_BUILD_DIR=../../${{env.default_build_dir}} SAT_IMPL=${{env.default_solver}} cargo test -- --test-threads=1
67
+ CBMC_BUILD_DIR=../../${{env.default_build_dir}} CBMC_VERSION=$VERSION cargo test -- --test-threads=1
67
68
68
69
69
70
check-macos-12-cmake-clang-rust :
@@ -100,6 +101,7 @@ jobs:
100
101
# by the other jobs already present in `pull-request-checks.yaml`.
101
102
- name : Run Rust API tests
102
103
run : |
104
+ VERSION=$(ruby -ne 'puts $~.captures if /^CBMC_VERSION\ =\ (\d+.\d+.\d+)$/' src/config.inc)
103
105
cd src/libcprover-rust;\
104
106
cargo clean;\
105
- CBMC_BUILD_DIR=../../${{env.default_build_dir}} SAT_IMPL=${{env.default_solver}} cargo test -- --test-threads=1
107
+ CBMC_BUILD_DIR=../../${{env.default_build_dir}} CBMC_VERSION=$VERSION cargo test -- --test-threads=1
You can’t perform that action at this time.
0 commit comments