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
37 changes: 28 additions & 9 deletions .github/workflows/bsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Prepare ccache
uses: actions/cache@v5
- name: Restore ccache
id: restore-ccache
uses: actions/cache/restore@v5
with:
save-always: true
path: .ccache
key: freebsd-15.0-gmake-${{ github.ref }}-${{ github.sha }}-PR
restore-keys: |
Expand Down Expand Up @@ -71,17 +71,23 @@ jobs:
# env PATH=$PATH:`pwd`/src/solvers gmake -C regression/cbmc test-cprover-smt2
# # gmake -C jbmc/regression test-parallel JOBS=2

- name: Save ccache
if: always()
uses: actions/cache/save@v5
with:
path: .ccache
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
# This job takes approximately 7 to 34 minutes
OpenBSD:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Prepare ccache
uses: actions/cache@v5
- name: Restore ccache
id: restore-ccache
uses: actions/cache/restore@v5
with:
save-always: true
path: .ccache
key: openbsd-7.7-gmake-${{ github.ref }}-${{ github.sha }}-PR
restore-keys: |
Expand Down Expand Up @@ -133,17 +139,23 @@ jobs:
# env PATH=$PATH:`pwd`/src/solvers gmake -C regression/cbmc test-cprover-smt2
# # gmake -C jbmc/regression test-parallel JOBS=2

- name: Save ccache
if: always()
uses: actions/cache/save@v5
with:
path: .ccache
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
# This job takes approximately 6 to 29 minutes
NetBSD:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Prepare ccache
uses: actions/cache@v5
- name: Restore ccache
id: restore-ccache
uses: actions/cache/restore@v5
with:
save-always: true
path: .ccache
key: netbsd-10.1-gmake-${{ github.ref }}-${{ github.sha }}-PR
restore-keys: |
Expand Down Expand Up @@ -197,3 +209,10 @@ jobs:
# gmake -C regression/cbmc test-paths-lifo
# env PATH=$PATH:`pwd`/src/solvers gmake -C regression/cbmc test-cprover-smt2
# # gmake -C jbmc/regression test-parallel JOBS=2

- name: Save ccache
if: always()
uses: actions/cache/save@v5
with:
path: .ccache
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
12 changes: 9 additions & 3 deletions .github/workflows/build-and-test-Linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
sudo apt-get install --no-install-recommends -y libssl-dev libelf-dev libudev-dev libpci-dev libiberty-dev autoconf
sudo apt-get install --no-install-recommends -y gawk jq

- name: Prepare ccache
uses: actions/cache@v5
- name: Restore ccache
id: restore-ccache
uses: actions/cache/restore@v5
with:
save-always: true
path: .ccache
key: ${{ runner.os }}-24.04-make-clang-${{ github.ref }}-${{ github.sha }}-KERNEL
restore-keys: |
Expand All @@ -53,3 +53,9 @@ jobs:
with:
name: CPROVER-faultyInput
path: CPROVER/faultyInput/*
- name: Save ccache
if: always()
uses: actions/cache/save@v5
with:
path: .ccache
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
12 changes: 9 additions & 3 deletions .github/workflows/build-and-test-Xen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
sudo apt-get install --no-install-recommends -y bin86 gdb bcc liblzma-dev python3-dev gettext iasl uuid-dev libncurses5-dev libncursesw5-dev pkg-config
sudo apt-get install --no-install-recommends -y libgtk2.0-dev libyajl-dev time ccache clang-19 clang++-19

- name: Prepare ccache
uses: actions/cache@v5
- name: Restore ccache
id: restore-ccache
uses: actions/cache/restore@v5
with:
save-always: true
path: .ccache
key: ${{ runner.os }}-24.04-make-clang-${{ github.ref }}-${{ github.sha }}-XEN
restore-keys: |
Expand Down Expand Up @@ -68,3 +68,9 @@ jobs:

- name: Show some goto-cc functions
run: $(pwd)/src/cbmc/cbmc --list-goto-functions xen_4_13/xen/xen-syms | grep "arch"
- name: Save ccache
if: always()
uses: actions/cache/save@v5
with:
path: .ccache
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
12 changes: 9 additions & 3 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
uses: ./.github/actions/install-cvc5
with:
version: ${{ env.cvc5-version }}
- name: Prepare ccache
uses: actions/cache@v5
- name: Restore ccache
id: restore-ccache
uses: actions/cache/restore@v5
with:
save-always: true
path: .ccache
key: ${{ runner.os }}-24.04-Coverage-${{ github.ref }}-${{ github.sha }}-PR
restore-keys: |
Expand Down Expand Up @@ -70,3 +70,9 @@ jobs:
files: build/html/coverage.info
fail_ci_if_error: true
verbose: true
- name: Save ccache
if: always()
uses: actions/cache/save@v5
with:
path: .ccache
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
12 changes: 9 additions & 3 deletions .github/workflows/csmith.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
sudo apt-get install --no-install-recommends -y build-essential flex bison maven ccache clang-19 clang++-19
sudo apt-get install --no-install-recommends -y csmith libcsmith-dev
make -C src minisat2-download
- name: Prepare ccache
uses: actions/cache@v5
- name: Restore ccache
id: restore-ccache
uses: actions/cache/restore@v5
with:
save-always: true
path: .ccache
key: ${{ runner.os }}-24.04-make-clang-${{ github.ref }}-${{ github.sha }}-CSMITH
restore-keys: |
Expand All @@ -46,3 +46,9 @@ jobs:
run: |
export PATH=$PWD/src/cbmc:$PWD/src/goto-cc:$PWD/src/goto-instrument:$PATH
scripts/csmith.sh 10
- name: Save ccache
if: always()
uses: actions/cache/save@v5
with:
path: .ccache
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
6 changes: 4 additions & 2 deletions .github/workflows/profiling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
sudo sysctl kernel.perf_event_paranoid=-1

- name: Restore ccache
id: restore-ccache
uses: actions/cache/restore@v5
with:
path: .ccache
Expand Down Expand Up @@ -156,7 +157,7 @@ jobs:
uses: actions/cache/save@v5
with:
path: .ccache
key: ${{ runner.os }}-24.04-Release-profile-${{ github.sha }}
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}

# ── Develop job: profile and publish flamegraphs to GitHub Pages ─────
profile-develop:
Expand Down Expand Up @@ -186,6 +187,7 @@ jobs:
sudo sysctl kernel.perf_event_paranoid=-1

- name: Restore ccache
id: restore-ccache
uses: actions/cache/restore@v5
with:
path: .ccache
Expand Down Expand Up @@ -280,4 +282,4 @@ jobs:
uses: actions/cache/save@v5
with:
path: .ccache
key: ${{ runner.os }}-24.04-Release-profile-${{ github.sha }}
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
24 changes: 18 additions & 6 deletions .github/workflows/pull-request-check-rust-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
sudo apt-get install --no-install-recommends -yq clang-13 clang++-13 flex bison libxml2-utils ccache
- name: Log cargo/rust version
run: cargo --version
- name: Prepare ccache
uses: actions/cache@v5
- name: Restore ccache
id: restore-ccache
uses: actions/cache/restore@v5
with:
save-always: true
path: .ccache
key: ${{ runner.os }}-22.04-cmake-clang-${{ github.ref }}-${{ github.sha }}-PR
restore-keys: |
Expand Down Expand Up @@ -69,6 +69,12 @@ jobs:
CBMC_INCLUDE_DIR=../../${{env.default_include_dir}} CBMC_LIB_DIR=../../${{env.default_build_dir}}/lib CBMC_VERSION=$VERSION cargo test -- --test-threads=1


- name: Save ccache
if: always()
uses: actions/cache/save@v5
with:
path: .ccache
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
check-macos-15-intel-cmake-clang-rust:
runs-on: macos-15-intel
steps:
Expand All @@ -79,10 +85,10 @@ jobs:
run: brew install cmake ninja flex bison ccache
- name: Log cargo/rust version
run: cargo --version
- name: Prepare ccache
uses: actions/cache@v5
- name: Restore ccache
id: restore-ccache
uses: actions/cache/restore@v5
with:
save-always: true
path: .ccache
key: ${{ runner.os }}-Release-Minisat-${{ github.ref }}-${{ github.sha }}-PR-Rust-API
restore-keys: |
Expand All @@ -109,3 +115,9 @@ jobs:
cd src/libcprover-rust;\
cargo clean;\
CBMC_INCLUDE_DIR=../../${{env.default_include_dir}} CBMC_LIB_DIR=../../${{env.default_build_dir}}/lib CBMC_VERSION=$VERSION cargo test -- --test-threads=1
- name: Save ccache
if: always()
uses: actions/cache/save@v5
with:
path: .ccache
key: ${{ steps.restore-ccache.outputs.cache-primary-key }}
Loading
Loading