@@ -36,17 +36,33 @@ jobs:
3636 uses : actions/upload-artifact@v4
3737 with :
3838 name : artifact-libcore
39- path : assets/core.json
39+ path : |
40+ assets/core.json
41+ assets/core.sqlite3
4042 compression-level : 9
4143 if-no-files-found : error
4244
4345 - name : Run tests
4446 run : cargo test -- --nocapture
4547
4648 kani-list :
49+ name : kani-list${{ matrix.autoharness }}
4750 runs-on : ubuntu-latest
48- if : false
51+ strategy :
52+ matrix :
53+ autoharness : ["", "-autoharness"]
54+ if : true
55+ env :
56+ UNSTABLE_ARGS : -Z function-contracts -Z mem-predicates -Z float-lib -Z c-ffi -Z loop-contracts
57+ AUTO : ${{ matrix.autoharness }}
4958 steps :
59+ - name : Remove unnecessary software to free up disk space
60+ run : |
61+ # inspired by https://github.com/easimon/maximize-build-space/blob/master/action.yml
62+ df -h
63+ sudo rm -rf /usr/share/dotnet /usr/local/lib/android /usr/local/.ghcup
64+ df -h
65+
5066 - uses : actions/checkout@v4
5167 with :
5268 submodules : ' recursive'
5672
5773 - name : Kani list
5874 working-directory : verify-rust-std
59- env :
60- UNSTABLE_ARGS : -Z function-contracts -Z mem-predicates -Z float-lib -Z c-ffi -Z loop-contracts
61- run : kani list -Zlist ${{ env.UNSTABLE_ARGS }} --std ./library --format=json
75+ if : ${{ env.AUTO == '' }}
76+ run : kani list -Zlist ${{ env.UNSTABLE_ARGS }} --std ./library --format=json
77+
78+ - name : Kani list with Autoharness
79+ working-directory : verify-rust-std
80+ if : ${{ env.AUTO == '-autoharness' }}
81+ run : kani autoharness -Z autoharness --list -Z list ${{ env.UNSTABLE_ARGS }} --std ./library --format=json
6282
6383 - name : View list
6484 working-directory : verify-rust-std
6787 - name : Upload kani-list.json
6888 uses : actions/upload-artifact@v4
6989 with :
70- name : artifact-kani-list
90+ name : artifact-kani-list${{ env.AUTO }}
7191 path : verify-rust-std/kani-list.json
7292 compression-level : 9
7393 if-no-files-found : error
0 commit comments