Skip to content

Commit

Permalink
Use a matrix for nightly valgrind (Take 7)
Browse files Browse the repository at this point in the history
  • Loading branch information
reneme committed Oct 31, 2024
1 parent 315f5d7 commit 411531c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 411531c

Please sign in to comment.