]> git.lizzy.rs Git - minetest.git/blobdiff - util/ci/common.sh
CI: add workaround to fix clang builds
[minetest.git] / util / ci / common.sh
index eb282c8236c265238b39b4555e72d5d547e49d84..6a28482fd6a3e999c672cc8484a510ab2915e49d 100644 (file)
@@ -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