ci: remove container solution for the linux runner

This will fix the failing release job.

Ubuntu 18.04 is incompatible with checkout action version 4, which
requires glibc 2.28+. This will bump the minimum glibc version required
to use the release versions to 2.31. People requring the older releases
can find them at https://github.com/neovim/neovim-releases.
This commit is contained in:
dundargoc
2023-09-09 10:36:42 +02:00
committed by GitHub
parent 294ded9cf2
commit b7734c4ec8
3 changed files with 8 additions and 24 deletions

View File

@ -1,26 +1,20 @@
#!/bin/bash
SUDO="sudo"
while (($# > 0)); do
case $1 in
--test) # install test dependencies
TEST=1
shift
;;
--container) # don't use sudo
SUDO=""
shift
;;
esac
done
os=$(uname -s)
if [[ $os == Linux ]]; then
$SUDO apt-get update
$SUDO apt-get install -y build-essential cmake curl gettext ninja-build unzip
sudo apt-get update
sudo apt-get install -y build-essential cmake curl gettext ninja-build unzip
if [[ -n $TEST ]]; then
$SUDO apt-get install -y locales-all cpanminus
sudo apt-get install -y locales-all cpanminus
fi
elif [[ $os == Darwin ]]; then
brew update --quiet