From 5c8d7e4984b73ec7cb72ead4becc761920f3fbd5 Mon Sep 17 00:00:00 2001 From: Alec Edgington <54802828+cqc-alec@users.noreply.github.com> Date: Tue, 4 Jun 2024 15:23:45 +0100 Subject: [PATCH] Revert to using ubuntu-22.04 runner for valgrind checks. (#1432) --- .github/workflows/valgrind.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 68f20741a9..8cb69732d3 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -28,7 +28,7 @@ jobs: - 'tket/**' - '.github/workflows/valgrind.yml' check: - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 needs: changes if: needs.changes.outputs.tket == 'true' steps: @@ -45,7 +45,7 @@ jobs: run: | conan profile detect DEFAULT_PROFILE_PATH=`conan profile path default` - PROFILE_PATH=./conan-profiles/ubuntu-24.04 + PROFILE_PATH=./conan-profiles/ubuntu-22.04 diff ${DEFAULT_PROFILE_PATH} ${PROFILE_PATH} || true cp ${PROFILE_PATH} ${DEFAULT_PROFILE_PATH} conan remote add tket-libs https://quantinuumsw.jfrog.io/artifactory/api/conan/tket1-libs --index 0 @@ -69,12 +69,10 @@ jobs: mkdir -p ~/texmf/tex/latex wget http://mirrors.ctan.org/graphics/pgf/contrib/quantikz/tikzlibraryquantikz.code.tex -P ~/texmf/tex/latex PKGPATH=`./rootpath tket.json tket` - # realloc of size 0 used (intentionally?) in eigen - cd ${PKGPATH}/bin && valgrind --error-exitcode=1 --show-realloc-size-zero=no ./test-tket [long],~[long] + cd ${PKGPATH}/bin && valgrind --error-exitcode=1 ./test-tket [long],~[long] - name: Run tests under valgrind (basic) if: github.event_name != 'schedule' run: | PKGPATH=`./rootpath tket.json tket` - # realloc of size 0 used (intentionally?) in eigen - cd ${PKGPATH}/bin && valgrind --error-exitcode=1 --show-realloc-size-zero=no ./test-tket + cd ${PKGPATH}/bin && valgrind --error-exitcode=1 ./test-tket