summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-05-17 16:55:55 +0200
committersfan5 <sfan5@live.de>2021-05-17 17:12:37 +0200
commit4152227f17315a9cf9038266d9f9bb06e21e3424 (patch)
treecf2af2b8d433252425bde1a9f0f9f84a9461f597
parentb56a028d6bc101cb01f5bdfe07053ac1af9fb016 (diff)
downloadminetest-4152227f17315a9cf9038266d9f9bb06e21e3424.tar.gz
minetest-4152227f17315a9cf9038266d9f9bb06e21e3424.tar.bz2
minetest-4152227f17315a9cf9038266d9f9bb06e21e3424.zip
CI: add workaround to fix clang builds
see https://github.com/actions/virtual-environments/issues/3376
-rw-r--r--util/ci/common.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/ci/common.sh b/util/ci/common.sh
index eb282c823..6a28482fd 100644
--- a/util/ci/common.sh
+++ b/util/ci/common.sh
@@ -19,6 +19,9 @@ install_linux_deps() {
sudo apt-get update
sudo apt-get install -y --no-install-recommends ${pkgs[@]} "$@"
+
+ # workaround for bug with Github Actions' ubuntu-18.04 image
+ sudo apt-get remove -y libgcc-11-dev gcc-11 || :
}
# Mac OSX build only