-
-
Notifications
You must be signed in to change notification settings - Fork 73
55 lines (48 loc) · 1.25 KB
/
Kani.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Kani CI
on:
pull_request:
paths-ignore:
- '.devcontainer/**'
- '.gitpod.yml'
- '.vscode/**'
- CHANGELOG.md
- README.md
push:
paths-ignore:
- '.devcontainer/**'
- '.gitpod.yml'
- '.vscode/**'
- CHANGELOG.md
- README.md
jobs:
pre_job:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
# https://github.com/marketplace/actions/skip-duplicate-actions
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: 'same_content'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
run-kani:
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-20.04
steps:
- name: Checkout Moka
uses: actions/checkout@v4
- name: Show CPU into
run: |
nproc
lscpu
free -m
- name: Pin some dependencies to specific versions
run: ./.ci_extras/pin-crate-vers-kani.sh
- name: Show cargo tree
run: cargo tree
- name: Run Kani
uses: model-checking/[email protected]
with:
args: --features 'sync, future'