From 411531c67437b936d643f7bed350ee4a3704145c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Meusel?= Date: Thu, 31 Oct 2024 09:55:27 +0100 Subject: [PATCH] Use a matrix for nightly valgrind (Take 7) --- .github/workflows/nightly.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b44293e108c..9a792562df5 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -184,17 +184,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Create Cache Key Hash - run: | - # Hashing the optimization flag value as this might contain spaces. - hash=$(echo "${{ matrix.cxxflags }}" | sha256sum | head -c 10) - echo "CACHE_KEY_HASH=${hash}" >> $GITHUB_ENV - - name: Setup Build Agent uses: ./.github/actions/setup-build-agent with: target: ${{ matrix.target }} - cache-key: linux-x86_64-${ matrix.compiler }-${{ matrix.target }}-${{ env.CACHE_KEY_HASH }} + cache-key: linux-x86_64-${{ matrix.compiler }}-${{ matrix.target }}-${{ matrix.cxxflags }} - name: Valgrind Checks run: python3 ./src/scripts/ci_build.py --make-tool=make --cc=${{ matrix.compiler }} --custom-optimization-flags="${{ matrix.cxxflags }}" ${{ matrix.target }}