From c4d85dde69218b2e4d2d8b1b492701d2ec0d5af2 Mon Sep 17 00:00:00 2001 From: Gereon Kremer Date: Thu, 17 Mar 2022 01:37:00 +0100 Subject: [PATCH] don't build gtest in CI (#8323) We currently build gtest in /usr/bin/... with every CI job on ubuntu. This PR removes this and uses our own external project instead. This way, we only build gtest if necessary and then cache these builds with ccache (saving some CI time). --- .github/actions/install-dependencies/action.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/actions/install-dependencies/action.yml b/.github/actions/install-dependencies/action.yml index 33a645490..3c06132de 100644 --- a/.github/actions/install-dependencies/action.yml +++ b/.github/actions/install-dependencies/action.yml @@ -26,16 +26,11 @@ runs: libcln-dev \ libedit-dev \ libgmp-dev \ - libgtest-dev \ libtinfo-dev \ flex \ libfl-dev \ flexc++ python3 -m pip install pexpect setuptools toml - cd /usr/src/googletest - sudo cmake . - sudo cmake --build . --target install - cd - # Make ImageVersion accessible as env.image_version. Environment # variables of the runner are not automatically imported: # -- 2.30.2