diff options
-rwxr-xr-x | .github/scripts/install_deps.sh | 4 | ||||
-rw-r--r-- | .github/workflows/test.yml | 16 | ||||
-rw-r--r-- | runtime/doc/support.txt | 2 | ||||
-rw-r--r-- | src/nvim/CMakeLists.txt | 3 |
4 files changed, 14 insertions, 11 deletions
diff --git a/.github/scripts/install_deps.sh b/.github/scripts/install_deps.sh index b90a84fc24..b7d723e690 100755 --- a/.github/scripts/install_deps.sh +++ b/.github/scripts/install_deps.sh @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef921cc3a4..ce2c0540b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ env: jobs: lint: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 env: CC: clang @@ -78,7 +78,7 @@ jobs: run: cmake --build build --target lintc-uncrustify clang-analyzer: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 20 env: CC: clang @@ -104,12 +104,12 @@ jobs: # or if github introduces a wildcard for required checks in the future. build: [ - { runner: ubuntu-22.04, os: ubuntu, flavor: asan, cc: clang, flags: -D ENABLE_ASAN_UBSAN=ON }, - { runner: ubuntu-22.04, os: ubuntu, flavor: tsan, cc: clang, flags: -D ENABLE_TSAN=ON }, - { runner: ubuntu-22.04, os: ubuntu, cc: gcc }, + { runner: ubuntu-24.04, os: ubuntu, flavor: asan, cc: clang, flags: -D ENABLE_ASAN_UBSAN=ON }, + { runner: ubuntu-24.04, os: ubuntu, flavor: tsan, cc: clang, flags: -D ENABLE_TSAN=ON }, + { runner: ubuntu-24.04, os: ubuntu, cc: gcc }, { runner: macos-12, os: macos, flavor: 12, cc: clang, flags: -D CMAKE_FIND_FRAMEWORK=NEVER, deps_flags: -D CMAKE_FIND_FRAMEWORK=NEVER }, { runner: macos-14, os: macos, cc: clang, flags: -D CMAKE_FIND_FRAMEWORK=NEVER, deps_flags: -D CMAKE_FIND_FRAMEWORK=NEVER }, - { runner: ubuntu-22.04, os: ubuntu, flavor: puc-lua, cc: gcc, deps_flags: -D USE_BUNDLED_LUAJIT=OFF -D USE_BUNDLED_LUA=ON, flags: -D PREFER_LUA=ON }, + { runner: ubuntu-24.04, os: ubuntu, flavor: puc-lua, cc: gcc, deps_flags: -D USE_BUNDLED_LUAJIT=OFF -D USE_BUNDLED_LUA=ON, flags: -D PREFER_LUA=ON }, ] test: [unittest, functionaltest, oldtest] exclude: @@ -202,7 +202,7 @@ jobs: # single-config generators so it's nice to have a small sanity check for # multi-config. build-types: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 env: CC: gcc @@ -228,7 +228,7 @@ jobs: run: cmake --build build --config MinSizeRel with-external-deps: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 env: CC: gcc diff --git a/runtime/doc/support.txt b/runtime/doc/support.txt index dace2fe945..36332a2a65 100644 --- a/runtime/doc/support.txt +++ b/runtime/doc/support.txt @@ -12,7 +12,7 @@ Support *support* Supported platforms *supported-platforms* `System` `Tier` `Versions` `Tested versions` -Linux 1 >= 2.6.32, glibc >= 2.12 Ubuntu 22.04 +Linux 1 >= 2.6.32, glibc >= 2.12 Ubuntu 24.04 macOS (Intel) 1 >= 11 macOS 12 macOS (M1) 1 >= 11 macOS 14 Windows 64-bit 1 >= Windows 10 Version 1809 Windows Server 2022 diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index d91df5dd85..c2a358327a 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -862,8 +862,11 @@ add_glob_target( -clang-analyzer-core.NullDereference, -clang-analyzer-core.UndefinedBinaryOperatorResult, -clang-analyzer-core.uninitialized.Assign, + -clang-analyzer-optin.core.EnumCastOutOfRange, -clang-analyzer-optin.performance.Padding, -clang-analyzer-security.insecureAPI.strcpy, + -clang-analyzer-unix.StdCLibraryFunctions, + -clang-analyzer-unix.Stream, ${CLANG_ANALYZER_IGNORE} ' EXCLUDE ${EXCLUDE_CLANG_TIDY}) |