mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
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:
12
.github/scripts/install_deps.sh
vendored
12
.github/scripts/install_deps.sh
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user