From 6036d6d5f545c6d4c48cf59e0e2c0a22cdd0c20c Mon Sep 17 00:00:00 2001 From: Michael Tautschnig Date: Wed, 28 Apr 2021 19:34:18 +0000 Subject: [PATCH] GitHub actions: ensure gdb remains installed on Ubuntu 18.04 Removing GCC 10 previously resulted in uninstalling gdb, which makes memory-analyzer tests fail. --- .github/workflows/pull-request-checks.yaml | 2 +- .github/workflows/release-packages.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request-checks.yaml b/.github/workflows/pull-request-checks.yaml index 7a87499dea1..4bd23752a81 100644 --- a/.github/workflows/pull-request-checks.yaml +++ b/.github/workflows/pull-request-checks.yaml @@ -461,7 +461,7 @@ jobs: # remove libgcc-s1, which isn't normally available in Ubuntu 18.04 target=$(dpkg-query -W --showformat='${Version}\n' gcc-8-base | head -n 1) # libgcc1 uses an epoch, thus the extra 1: - sudo apt-get install -y --allow-downgrades --reinstall gcc g++ libgcc-s1- libstdc++6=$target liblsan0=$target libtsan0=$target libcc1-0=$target libgcc1=1:$target + sudo apt-get install -y --allow-downgrades --reinstall gcc g++ libgcc-s1- libstdc++6=$target liblsan0=$target libtsan0=$target libcc1-0=$target libgcc1=1:$target gdb=8.1.1-0ubuntu1 - name: Confirm z3 solver is available and log the version installed run: z3 --version - name: Prepare ccache diff --git a/.github/workflows/release-packages.yaml b/.github/workflows/release-packages.yaml index 35fae0b5f7d..f114c8f9e21 100644 --- a/.github/workflows/release-packages.yaml +++ b/.github/workflows/release-packages.yaml @@ -76,7 +76,7 @@ jobs: # remove libgcc-s1, which isn't normally available in Ubuntu 18.04 target=$(dpkg-query -W --showformat='${Version}\n' gcc-8-base | head -n 1) # libgcc1 uses an epoch, thus the extra 1: - sudo apt-get install -y --allow-downgrades --reinstall gcc g++ libgcc-s1- libstdc++6=$target liblsan0=$target libtsan0=$target libcc1-0=$target libgcc1=1:$target + sudo apt-get install -y --allow-downgrades --reinstall gcc g++ libgcc-s1- libstdc++6=$target liblsan0=$target libtsan0=$target libcc1-0=$target libgcc1=1:$target gdb=8.1.1-0ubuntu1 - name: Confirm z3 solver is available and log the version installed run: z3 --version - name: Prepare ccache