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
24 changes: 24 additions & 0 deletions .github/workflows/bench-compiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ jobs:
ref: ${{ env.NEW_REF }}
fetch-depth: 1

- name: Cache Kani build artifacts
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
shared-key: "kani-rust-cache-bench"
workspaces: |
new
new/tools/compile-timer
old
old/tools/compile-timer
cache-directories: "~/.rustup"

- name: Set up Kani Dependencies (old variant)
uses: ./old/.github/actions/setup
with:
Expand Down Expand Up @@ -101,6 +113,18 @@ jobs:
ref: ${{ env.NEW_REF }}
fetch-depth: 1

- name: Cache Kani build artifacts
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
shared-key: "kani-rust-cache-bench"
workspaces: |
new
new/tools/compile-timer
old
old/tools/compile-timer
cache-directories: "~/.rustup"

- name: Set up Kani Dependencies (old variant)
uses: ./old/.github/actions/setup
with:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/kani.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
- name: Checkout Kani
uses: actions/checkout@v4

- name: Cache Kani build artifacts
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
shared-key: "kani-rust-cache-dev"
cache-directories: "~/.rustup"

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
with:
Expand All @@ -43,6 +50,13 @@ jobs:
sudo apt-get install -y python3-pip
pushd tools/benchcomp && pip3 install -r requirements.txt

- name: Cache Kani build artifacts
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
shared-key: "kani-rust-cache-release"
cache-directories: "~/.rustup"

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
with:
Expand All @@ -60,6 +74,13 @@ jobs:
- name: Checkout Kani
uses: actions/checkout@v4

- name: Cache Kani build artifacts
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
shared-key: "kani-rust-cache-release"
cache-directories: "~/.rustup"

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
with:
Expand All @@ -76,6 +97,12 @@ jobs:
- name: Checkout Kani
uses: actions/checkout@v4

- name: Cache Kani build artifacts
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
cache-directories: "~/.rustup"

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/verify-std-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
path: kani
fetch-depth: 0

- name: Cache Kani build artifacts
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
workspaces: kani
shared-key: "kani-rust-cache-dev"
cache-directories: "~/.rustup"

- name: Setup Kani Dependencies
uses: ./kani/.github/actions/setup
with:
Expand Down
Loading