Skip to content

Commit 6036d6d

Browse files
committed
GitHub actions: ensure gdb remains installed on Ubuntu 18.04
Removing GCC 10 previously resulted in uninstalling gdb, which makes memory-analyzer tests fail.
1 parent ce32507 commit 6036d6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ jobs:
461461
# remove libgcc-s1, which isn't normally available in Ubuntu 18.04
462462
target=$(dpkg-query -W --showformat='${Version}\n' gcc-8-base | head -n 1)
463463
# libgcc1 uses an epoch, thus the extra 1:
464-
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
464+
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
465465
- name: Confirm z3 solver is available and log the version installed
466466
run: z3 --version
467467
- name: Prepare ccache

.github/workflows/release-packages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
# remove libgcc-s1, which isn't normally available in Ubuntu 18.04
7777
target=$(dpkg-query -W --showformat='${Version}\n' gcc-8-base | head -n 1)
7878
# libgcc1 uses an epoch, thus the extra 1:
79-
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
79+
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
8080
- name: Confirm z3 solver is available and log the version installed
8181
run: z3 --version
8282
- name: Prepare ccache

0 commit comments

Comments
 (0)