From bee5c0bce6cff31646fd9e8b53ee0c1dee53e75f Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 22 Aug 2024 14:37:14 +0200 Subject: [PATCH] Fix the Coverity workflow after the Quiche installation refactoring --- .github/workflows/misc-dailies.yml | 2 ++ tasks.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/misc-dailies.yml b/.github/workflows/misc-dailies.yml index 5840075d82..48eee9caf1 100644 --- a/.github/workflows/misc-dailies.yml +++ b/.github/workflows/misc-dailies.yml @@ -93,6 +93,8 @@ jobs: - run: inv coverity-clang-configure - run: inv ci-autoconf working-directory: ./pdns/dnsdistdist/ + - run: inv ci-install-rust ${{ env.REPO_HOME }} + working-directory: ./pdns/dnsdistdist/ - run: inv ci-build-and-install-quiche ${{ env.REPO_HOME }} working-directory: ./pdns/dnsdistdist/ - run: inv ci-dnsdist-configure full diff --git a/tasks.py b/tasks.py index 65c58d0d14..f2b00d5a0a 100644 --- a/tasks.py +++ b/tasks.py @@ -1049,6 +1049,9 @@ def coverity_upload(c, email, project, tarball): @task def ci_build_and_install_quiche(c, repo): with c.cd(f'{repo}/builder-support/helpers/'): + # be careful that rust needs to have been installed system-wide, + # as the one installed in GitHub actions' Ubuntu images in /home/runner/.cargo/bin/cargo + # is not in the path for the root user (and shouldn't be) c.run(f'sudo {repo}/builder-support/helpers/install_quiche.sh') # cannot use c.sudo() inside a cd() context, see https://github.com/pyinvoke/invoke/issues/687 -- 2.47.2