Skip to content

Commit 32d852c

Browse files
nlohmannslowriot
authored andcommitted
Use ubuntu-latest image to run Valgrind (nlohmann#4575)
* 🔧 use Clang image to run valgrind * 🔧 use Clang image to run valgrind * 🔧 use Clang image to run valgrind * 🔧 use Ubuntu image to run valgrind
1 parent a96b154 commit 32d852c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
4949
strategy:
5050
matrix:
5151
target: [
52-
ci_test_valgrind, # needs Valgrind
5352
ci_test_amalgamation, # needs AStyle
5453
ci_infer, # needs Infer
5554
ci_single_binaries # needs iwyu
@@ -77,13 +76,15 @@ jobs:
7776
runs-on: ubuntu-latest
7877
strategy:
7978
matrix:
80-
target: [ci_cppcheck, ci_cpplint, ci_reproducible_tests, ci_non_git_tests, ci_offline_testdata, ci_reuse_compliance]
79+
target: [ci_cppcheck, ci_cpplint, ci_reproducible_tests, ci_non_git_tests, ci_offline_testdata, ci_reuse_compliance, ci_test_valgrind]
8180
steps:
8281
- name: Harden Runner
8382
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
8483
with:
8584
egress-policy: audit
8685

86+
- name: Install Valgrind
87+
run: sudo apt-get update ; sudo apt-get install -y valgrind
8788
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8889
- name: Get latest CMake and ninja
8990
uses: lukka/get-cmake@5979409e62bdf841487c5fb3c053149de97a86d3 # v3.31.2

0 commit comments

Comments
 (0)