From c1070859bd532239963f3f29e9b1d37a23c4d42a Mon Sep 17 00:00:00 2001 From: Stefan Westerfeld Date: Thu, 20 Jun 2024 14:29:05 +0200 Subject: [PATCH] GITHUB: preserve ccache Signed-off-by: Stefan Westerfeld --- .github/workflows/testing.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 254d5f9b..ee1b0dee 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -9,6 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/cache@v4 + with: { path: "ccache", key: "debianbuild-${{hashFiles ('misc/*')}}" } - name: Test Linux Build run: misc/debianbuild.sh - uses: actions/upload-artifact@v4 @@ -27,6 +29,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/cache@v4 + with: { path: "ccache", key: "archbuild-${{hashFiles ('misc/*')}}" } - name: Test Arch Linux Build run: misc/archbuild.sh - uses: actions/upload-artifact@v4 @@ -38,6 +42,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/cache@v4 + with: { path: "ccache", key: "debianbuild-${{hashFiles ('misc/*')}}" } - name: Test Linux Build with Sanitizers run: misc/debianbuild.sh --enable-asan --enable-ubsan - uses: actions/upload-artifact@v4 @@ -49,6 +55,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/cache@v4 + with: { path: "ccache", key: "archbuild-${{hashFiles ('misc/*')}}" } - name: Test Arch Linux Build with Sanitizers run: misc/archbuild.sh --enable-asan --enable-ubsan - uses: actions/upload-artifact@v4