Skip to content

Commit e8cd991

Browse files
committed
Remove unnecessary C++ library package install from GH prep script
These packages needed to be installed in some of the Linux distributions because the swift docker container images didn't include them, even though they are required to compile any C++ code. The docker images should be updated now and so these extra steps are no longer needed.
1 parent c5518b6 commit e8cd991

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/prep-gh-action.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
#!/bin/bash
22

3+
# This script does a bit of extra preparation of the docker containers used to run the GitHub workflows
4+
# that are specific to this project's needs when building/testing. Note that this script runs on
5+
# every supported Linux distribution so it must adapt to the distribution that it is running.
6+
37
apt-get --help && apt-get update && apt-get -y install curl make
48
yum --help && (curl --help && yum -y install curl) && yum install make
59

6-
(cat /etc/os-release | grep bookworm) && apt-get -y install libstdc++-12-dev gnupg2
7-
(cat /etc/os-release | grep 'Fedora Linux 39') && yum -y install libstdc++-devel libstdc++-static
10+
(cat /etc/os-release | grep bookworm) && apt-get -y install gnupg2
811

912
exit 0

0 commit comments

Comments
 (0)