diff --git a/.github/workflows/CI-mingw.yml b/.github/workflows/CI-mingw.yml index 54cc5de399e..88c3b73f042 100644 --- a/.github/workflows/CI-mingw.yml +++ b/.github/workflows/CI-mingw.yml @@ -41,7 +41,7 @@ jobs: mingw-w64-x86_64-ccache - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }} diff --git a/.github/workflows/CI-unixish-docker.yml b/.github/workflows/CI-unixish-docker.yml index 018a5490b37..43494965b3b 100644 --- a/.github/workflows/CI-unixish-docker.yml +++ b/.github/workflows/CI-unixish-docker.yml @@ -43,6 +43,10 @@ jobs: # we need to stay at v3 for now because Node 20 does not support the older distros # /__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node) - uses: actions/checkout@v3 + if: matrix.image == 'ubuntu:16.04' || matrix.image == 'ubuntu:18.04' + + - uses: actions/checkout@v4 + if: matrix.image != 'ubuntu:16.04' && matrix.image != 'ubuntu:18.04' - name: Install missing software on ubuntu if: contains(matrix.image, 'ubuntu') @@ -57,11 +61,20 @@ jobs: # needs to be called after the package installation since # - it doesn't call "apt-get update" - # - it doesn't support centos # - # needs to be to fixated on 1.2.11 so it works with older images - see https://github.com/hendrikmuhs/ccache-action/issues/178 + # needs to be to fixated on 1.2.11 so it works with older images - see https://github.com/hendrikmuhs/ccache-action/issues/178. + # using the older version will cause a two minute hang in its post-run step. - name: ccache uses: hendrikmuhs/ccache-action@v1.2.11 + if: matrix.image == 'ubuntu:16.04' || matrix.image == 'ubuntu:18.04' + with: + key: ${{ github.workflow }}-${{ matrix.image }} + + # needs to be called after the package installation since + # - it doesn't call "apt-get update" + - name: ccache + uses: hendrikmuhs/ccache-action@v1.2 + if: matrix.image != 'ubuntu:16.04' && matrix.image != 'ubuntu:18.04' with: key: ${{ github.workflow }}-${{ matrix.image }} @@ -109,6 +122,10 @@ jobs: # we need to stay at v3 for now because Node 20 does not support the older distros # /__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node) - uses: actions/checkout@v3 + if: matrix.image == 'ubuntu:16.04' || matrix.image == 'ubuntu:18.04' + + - uses: actions/checkout@v4 + if: matrix.image != 'ubuntu:16.04' && matrix.image != 'ubuntu:18.04' - name: Install missing software on ubuntu if: contains(matrix.image, 'ubuntu') @@ -118,24 +135,31 @@ jobs: # needs to be called after the package installation since # - it doesn't call "apt-get update" - # - it doesn't support centos # - # needs to be to fixated on 1.2.11 so it works with older images - see https://github.com/hendrikmuhs/ccache-action/issues/178 + # needs to be to fixated on 1.2.11 so it works with older images - see https://github.com/hendrikmuhs/ccache-action/issues/178. + # using the older version will cause a two minute hang in its post-run step. - name: ccache uses: hendrikmuhs/ccache-action@v1.2.11 + if: matrix.image == 'ubuntu:16.04' || matrix.image == 'ubuntu:18.04' + with: + key: ${{ github.workflow }}-${{ matrix.image }} + + # needs to be called after the package installation since + # - it doesn't call "apt-get update" + - name: ccache + uses: hendrikmuhs/ccache-action@v1.2 + if: matrix.image != 'ubuntu:16.04' && matrix.image != 'ubuntu:18.04' with: key: ${{ github.workflow }}-${{ matrix.image }} - name: Build cppcheck run: | - # "/usr/lib64" for centos / "/usr/lib" for ubuntu - export PATH="/usr/lib64/ccache:/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" + export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" make -j$(nproc) HAVE_RULES=yes CXXFLAGS="-w" - name: Build test run: | - # "/usr/lib64" for centos / "/usr/lib" for ubuntu - export PATH="/usr/lib64/ccache:/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" + export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" make -j$(nproc) testrunner HAVE_RULES=yes CXXFLAGS="-w" - name: Run test diff --git a/.github/workflows/CI-unixish.yml b/.github/workflows/CI-unixish.yml index 0cdd4587685..0e40bfe0041 100644 --- a/.github/workflows/CI-unixish.yml +++ b/.github/workflows/CI-unixish.yml @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }} @@ -98,7 +98,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }} @@ -171,7 +171,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }} @@ -203,7 +203,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }} @@ -272,7 +272,7 @@ jobs: brew link qt@5 --force - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }} @@ -345,7 +345,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }} @@ -505,7 +505,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }} diff --git a/.github/workflows/asan.yml b/.github/workflows/asan.yml index 9297b2f2d5e..9c2a168433c 100644 --- a/.github/workflows/asan.yml +++ b/.github/workflows/asan.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 540144c2306..dee18946c06 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ runner.os }} diff --git a/.github/workflows/scriptcheck.yml b/.github/workflows/scriptcheck.yml index 483e551e192..c0ebfba6caa 100644 --- a/.github/workflows/scriptcheck.yml +++ b/.github/workflows/scriptcheck.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ runner.os }} diff --git a/.github/workflows/selfcheck.yml b/.github/workflows/selfcheck.yml index 6241f3851d7..2b624f4e805 100644 --- a/.github/workflows/selfcheck.yml +++ b/.github/workflows/selfcheck.yml @@ -31,7 +31,7 @@ jobs: sudo apt-get install libboost-container-dev - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ runner.os }} diff --git a/.github/workflows/tsan.yml b/.github/workflows/tsan.yml index d18ca317bc9..d97e3f94c66 100644 --- a/.github/workflows/tsan.yml +++ b/.github/workflows/tsan.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }} diff --git a/.github/workflows/ubsan.yml b/.github/workflows/ubsan.yml index 41ff8a62fe8..7e8cd5e824b 100644 --- a/.github/workflows/ubsan.yml +++ b/.github/workflows/ubsan.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }} diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index e74fb387745..70671db271a 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - name: ccache - uses: hendrikmuhs/ccache-action@v1.2.11 + uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.workflow }}-${{ runner.os }}