ci: bump ubuntu runner version to ubuntu-24.04

Also bump clang to version 20.
This commit is contained in:
dundargoc
2024-10-02 15:16:13 +02:00
committed by dundargoc
parent ff7832ad3f
commit 0c9b3ef34d
4 changed files with 14 additions and 11 deletions

View File

@ -16,7 +16,7 @@ if [[ $os == Linux ]]; then
if [[ $CC == clang ]]; then
DEFAULT_CLANG_VERSION=$(echo | clang -dM -E - | grep __clang_major | awk '{print $3}')
CLANG_VERSION=18
CLANG_VERSION=20
if ((DEFAULT_CLANG_VERSION >= CLANG_VERSION)); then
echo "Default clang version is $DEFAULT_CLANG_VERSION, which equal or larger than wanted version $CLANG_VERSION. Aborting!"
exit 1
@ -33,7 +33,7 @@ if [[ $os == Linux ]]; then
sudo apt-get install -y locales-all cpanminus attr libattr1-dev gdb inotify-tools
# Use default CC to avoid compilation problems when installing Python modules
CC=cc python3 -m pip -q install --user --upgrade pynvim
CC=cc python3 -m pip -q install --user --upgrade --break-system-packages pynvim
fi
elif [[ $os == Darwin ]]; then
brew update --quiet