Skip to content

Commit f805e34

Browse files
committed
Merge branch 'main' into issue-3612-can-deref-2
2 parents 283a7f1 + abd68b9 commit f805e34

File tree

127 files changed

+2422
-1052
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+2422
-1052
lines changed

.github/workflows/kani.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,6 @@ jobs:
3131
- name: Execute Kani regression
3232
run: ./scripts/kani-regression.sh
3333

34-
write-json-symtab-regression:
35-
runs-on: ubuntu-20.04
36-
steps:
37-
- name: Checkout Kani
38-
uses: actions/checkout@v4
39-
40-
- name: Setup Kani Dependencies
41-
uses: ./.github/actions/setup
42-
with:
43-
os: ubuntu-20.04
44-
45-
- name: Build Kani
46-
run: cargo build-dev -- --features write_json_symtab
47-
48-
- name: Run tests
49-
run: |
50-
cargo run -p compiletest --quiet -- --suite kani --mode kani --quiet --no-fail-fast
51-
cargo run -p compiletest --quiet -- --suite expected --mode expected --quiet --no-fail-fast
52-
cargo run -p compiletest --quiet -- --suite cargo-kani --mode cargo-kani --quiet --no-fail-fast
53-
54-
5534
benchcomp-tests:
5635
runs-on: ubuntu-20.04
5736
steps:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jobs:
272272
- name: Run tests
273273
# TODO: Customize compiletest to run custom kani. For now, just run a few cargo kani tests.
274274
run: |
275-
for dir in simple-lib simple-visualize build-rs-works simple-kissat; do
275+
for dir in simple-lib build-rs-works simple-kissat; do
276276
>&2 echo "Running test $dir"
277277
pushd tests/cargo-kani/$dir
278278
cargo kani
@@ -312,7 +312,7 @@ jobs:
312312
313313
- name: Run installed tests
314314
run: |
315-
for dir in simple-lib simple-visualize build-rs-works simple-kissat; do
315+
for dir in simple-lib build-rs-works simple-kissat; do
316316
>&2 echo "Running test $dir"
317317
docker run -v /var/run/docker.sock:/var/run/docker.sock \
318318
-w /tmp/kani/tests/cargo-kani/$dir kani-18-04 cargo kani

.github/workflows/verify-std-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
continue-on-error: true
6060
run: |
6161
kani verify-std -Z unstable-options ./library --target-dir ${{ runner.temp }} -Z function-contracts \
62-
-Z mem-predicates
62+
-Z mem-predicates -Z loop-contracts --enable-unstable --cbmc-args --object-bits 12
6363
6464
# If the head failed, check if it's a new failure.
6565
- name: Checkout base
@@ -77,7 +77,7 @@ jobs:
7777
continue-on-error: true
7878
run: |
7979
kani verify-std -Z unstable-options ./library --target-dir ${{ runner.temp }} -Z function-contracts \
80-
-Z mem-predicates
80+
-Z mem-predicates -Z loop-contracts --enable-unstable --cbmc-args --object-bits 12
8181
8282
- name: Compare PR results
8383
if: steps.check-head.outcome != 'success' && steps.check-head.outcome != steps.check-base.outcome

0 commit comments

Comments
 (0)