Skip to content

Commit

Permalink
Use a matrix for nightly valgrind (Take 1)
Browse files Browse the repository at this point in the history
  • Loading branch information
reneme committed Oct 30, 2024
1 parent 863c64c commit 758f4fd
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,20 +149,31 @@ jobs:

valgrind:
name: "valgrind"
strategy:
fail-fast: false

matrix:
compiler: [clang, gcc]
cxxflags: ["-O0", "-O1", "-O2", "-O3", "-Os"]

runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4

- name: Create Cache Key Hash
run: |
hash=$(echo "${{ matrix.compiler }}${{ 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: valgrind-full
cache-key: linux-x86_64-valgrind-full
cache-key: linux-x86_64-valgrind-full-${{ env.CACHE_KEY_HASH }}

- name: Valgrind Checks
run: python3 ./src/scripts/ci_build.py --cc=clang --make-tool=make valgrind-full
run: python3 ./src/scripts/ci_build.py --make-tool=ninja --cc=${{ matrix.compiler }} --extra-cxxflags="${{ matrix.cxxflags }}" valgrind-full

hybrid_tls_interop:
name: "PQ/T TLS 1.3"
Expand Down

0 comments on commit 758f4fd

Please sign in to comment.