From 7cace52ab580eb317f72f88eb272d11a3db9717d Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Fri, 12 Feb 2021 16:37:20 +0000 Subject: [PATCH] test: prevent LinuxBrew in GitHub Actions CI Ubuntu-latest in GitHub Actions provides linuxbrew, so the tests install both the native Debian dependency packages, and also the linuxbrew variants which is slower and entirely redundant. Signed-off-by: Joe Groocock --- misc/make-deps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/make-deps.sh b/misc/make-deps.sh index a9263d2f..a2f430fa 100755 --- a/misc/make-deps.sh +++ b/misc/make-deps.sh @@ -69,7 +69,8 @@ if [ -n "$APT" ]; then $sudo_command $APT install -y graphviz # for debugging fi -if [ -n "$BREW" ]; then +# Prevent linuxbrew installing redundant deps in CI +if [ -n "$BREW" -a "$RUNNER_OS" != "Linux" ]; then # coreutils contains gtimeout, gstat, etc $BREW install pkg-config libvirt augeas coreutils || true fi