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
2 changes: 2 additions & 0 deletions .github/workflows/CI-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Build cppcheck
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/CI-unixish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ matrix.image }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Run CMake
run: |
Expand Down Expand Up @@ -117,6 +119,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ matrix.image }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

# /usr/lib/ccache/bin - Alpine Linux

Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/CI-unixish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Install missing software on ubuntu
if: contains(matrix.os, 'ubuntu')
Expand Down Expand Up @@ -92,6 +94,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

# TODO: move latest compiler to separate step
# TODO: bail out on warnings with latest GCC
Expand Down Expand Up @@ -222,6 +226,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}-${{ matrix.cxxstd }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Install missing software on ubuntu
if: contains(matrix.os, 'ubuntu')
Expand Down Expand Up @@ -270,6 +276,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

# coreutils contains "nproc"
- name: Install missing software on macos
Expand Down Expand Up @@ -304,6 +312,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

# coreutils contains "nproc"
- name: Install missing software on macos
Expand Down Expand Up @@ -366,6 +376,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Run CMake on macOS (force Boost)
run: |
Expand Down Expand Up @@ -466,6 +478,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Install missing software on ubuntu
if: contains(matrix.os, 'ubuntu')
Expand Down Expand Up @@ -716,6 +730,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Install missing software on ubuntu
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/corpus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ runner.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Install missing software on ubuntu
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ runner.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Install missing software on ubuntu
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}-${{ matrix.sanitizer }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Set up Python
uses: actions/setup-python@v6
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/scriptcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ runner.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Cache Cppcheck
uses: actions/cache@v5
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/selfcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ runner.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Install missing software
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}-${{ runner.os }}
# only save cache in main/release branches, PRs restore the cache of the base branch
save: ${{ github.event_name != 'pull_request' }}

- name: Install missing software
run: |
Expand Down
Loading