From 8314ac2f76472803d2ae09b2a4c30bce43de8539 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 29 Dec 2024 15:49:20 +0100 Subject: [PATCH] Use ubuntu-latest image to run Valgrind (#4575) * :wrench: use Clang image to run valgrind * :wrench: use Clang image to run valgrind * :wrench: use Clang image to run valgrind * :wrench: use Ubuntu image to run valgrind --- .github/workflows/ubuntu.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 8b4d71a782..2d10f87823 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -49,7 +49,6 @@ jobs: strategy: matrix: target: [ - ci_test_valgrind, # needs Valgrind ci_test_amalgamation, # needs AStyle ci_infer, # needs Infer ci_single_binaries # needs iwyu @@ -77,13 +76,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - target: [ci_cppcheck, ci_cpplint, ci_reproducible_tests, ci_non_git_tests, ci_offline_testdata, ci_reuse_compliance] + target: [ci_cppcheck, ci_cpplint, ci_reproducible_tests, ci_non_git_tests, ci_offline_testdata, ci_reuse_compliance, ci_test_valgrind] steps: - name: Harden Runner uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 with: egress-policy: audit + - name: Install Valgrind + run: sudo apt-get update ; sudo apt-get install -y valgrind - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Get latest CMake and ninja uses: lukka/get-cmake@5979409e62bdf841487c5fb3c053149de97a86d3 # v3.31.2