Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .github/workflows/kani.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# Copyright Kani Contributors
# SPDX-License-Identifier: Apache-2.0 OR MIT
name: Kani CI
on: [push, pull_request]
on:
pull_request:
push:
# Not just any push, as that includes tags.
# We don't want to re-trigger this workflow when tagging an existing commit.
branches:
- main

env:
RUST_BACKTRACE: 1

jobs:
regression:
Expand All @@ -19,9 +28,7 @@ jobs:
os: ${{ matrix.os }}

- name: Build Kani
run: |
export RUST_BACKTRACE=1
cargo build --workspace
run: cargo build --workspace

- name: Execute Kani regression
run: ./scripts/kani-regression.sh
Expand All @@ -38,9 +45,7 @@ jobs:
os: ubuntu-20.04

- name: Build Kani
run: |
export RUST_BACKTRACE=1
cargo build --workspace
run: cargo build --workspace

- name: Execute Kani performance tests
run: ./scripts/kani-perf.sh
Expand All @@ -59,9 +64,7 @@ jobs:
os: ubuntu-20.04

- name: Build Kani
run: |
export RUST_BACKTRACE=1
cargo build --workspace
run: cargo build --workspace

- name: Install book runner dependencies
run: ./scripts/setup/install_bookrunner_deps.sh
Expand Down
4 changes: 4 additions & 0 deletions scripts/std-lib-regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ then
WRAPPER="env time -v"
elif [[ $PLATFORM == "Darwin i386" ]]
then
# Temporarily disabled (in CI) to keeps CI times down
# See https://github.com/model-checking/kani/issues/1578
exit 0

TARGET="x86_64-apple-darwin"
# mac 'time' doesn't have -v
WRAPPER=""
Expand Down