File tree Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright Kani Contributors
2
2
# SPDX-License-Identifier: Apache-2.0 OR MIT
3
3
name : Kani CI
4
- on : [push, pull_request]
4
+ on :
5
+ pull_request :
6
+ push :
7
+ # Not just any push, as that includes tags.
8
+ # We don't want to re-trigger this workflow when tagging an existing commit.
9
+ branches :
10
+ - main
11
+
12
+ env :
13
+ RUST_BACKTRACE : 1
5
14
6
15
jobs :
7
16
regression :
19
28
os : ${{ matrix.os }}
20
29
21
30
- name : Build Kani
22
- run : |
23
- export RUST_BACKTRACE=1
24
- cargo build --workspace
31
+ run : cargo build --workspace
25
32
26
33
- name : Execute Kani regression
27
34
run : ./scripts/kani-regression.sh
38
45
os : ubuntu-20.04
39
46
40
47
- name : Build Kani
41
- run : |
42
- export RUST_BACKTRACE=1
43
- cargo build --workspace
48
+ run : cargo build --workspace
44
49
45
50
- name : Execute Kani performance tests
46
51
run : ./scripts/kani-perf.sh
59
64
os : ubuntu-20.04
60
65
61
66
- name : Build Kani
62
- run : |
63
- export RUST_BACKTRACE=1
64
- cargo build --workspace
67
+ run : cargo build --workspace
65
68
66
69
- name : Install book runner dependencies
67
70
run : ./scripts/setup/install_bookrunner_deps.sh
Original file line number Diff line number Diff line change 13
13
WRAPPER=" env time -v"
14
14
elif [[ $PLATFORM == " Darwin i386" ]]
15
15
then
16
+ # Temporarily disabled (in CI) to keeps CI times down
17
+ # See https://github.com/model-checking/kani/issues/1578
18
+ exit 0
19
+
16
20
TARGET=" x86_64-apple-darwin"
17
21
# mac 'time' doesn't have -v
18
22
WRAPPER=" "
You can’t perform that action at this time.
0 commit comments