From abd5fb704c80fc5635f181bb11396ac640b7f40a Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Fri, 1 Apr 2022 12:24:10 +0200 Subject: [PATCH] all: Fix Horizon integration tests (#4292) --- .github/workflows/horizon.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/horizon.yml b/.github/workflows/horizon.yml index 5f43e6122e..626f6f681d 100644 --- a/.github/workflows/horizon.yml +++ b/.github/workflows/horizon.yml @@ -57,6 +57,11 @@ jobs: - if: ${{ startsWith(matrix.ingestion-backend, 'captive-core') }} name: Install and enable Captive Core run: | + # Workaround for https://github.com/actions/virtual-environments/issues/5245, + # libc++1-8 won't be installed if another version is installed (but apt won't give you a helpul + # message about why the installation fails) + sudo apt-get remove -y libc++1-10 libc++abi1-10 || true + sudo wget -qO - https://apt.stellar.org/SDF.asc | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=true sudo apt-key add - sudo bash -c 'echo "deb https://apt.stellar.org focal unstable" > /etc/apt/sources.list.d/SDF-unstable.list' sudo apt-get update && sudo apt-get install -y stellar-core=${{ matrix.captive-core }}