From 0abffbff23adc4ae6e3c78af921a8c9a8cb6670f Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 10 Jun 2026 21:30:09 +0000 Subject: [PATCH] CI: Remove Cirrus CI and Coverity Scan Cirrus CI shut down on 2026-06-01, so its badge and .cirrus.yml no longer work. The Coverity Scan project for Vim is also gone (the badge and project page return 404). Remove both badges and their related configuration. closes: #20431 Signed-off-by: Yasuhiro Matsumoto Signed-off-by: Christian Brabandt --- .cirrus.yml | 31 ------------- .github/labeler.yml | 1 - .github/workflows/coverity.yml | 85 ---------------------------------- Filelist | 2 - README.md | 2 - ci/lychee.toml | 1 - runtime/doc/todo.txt | 5 +- 7 files changed, 1 insertion(+), 126 deletions(-) delete mode 100644 .cirrus.yml delete mode 100644 .github/workflows/coverity.yml diff --git a/.cirrus.yml b/.cirrus.yml deleted file mode 100644 index a97451419e..0000000000 --- a/.cirrus.yml +++ /dev/null @@ -1,31 +0,0 @@ -env: - CIRRUS_CLONE_DEPTH: 3 - FEATURES: huge - -freebsd_task: - name: FreeBSD - matrix: - - name: FreeBSD 15.0 - freebsd_instance: - image_family: freebsd-15-0-amd64-ufs - timeout_in: 20m - install_script: - - pkg install -y gettext diffutils - build_script: - - NPROC=$(getconf _NPROCESSORS_ONLN) - - ./configure --with-features=${FEATURES} - - make -j${NPROC} - test_script: - - src/vim --version - # run tests as user "cirrus" instead of root - - pw useradd cirrus -m - - chown -R cirrus:cirrus . - - sudo -u cirrus make test - on_failure: - test_artifacts: - name: "Cirrus-${CIRRUS_BUILD_ID}-freebsd-failed-tests" - path: | - runtime/indent/testdir/*.fail - runtime/syntax/testdir/failed/* - src/testdir/failed/* - type: application/octet-stream diff --git a/.github/labeler.yml b/.github/labeler.yml index 157f791e70..6ecb29399e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -4,7 +4,6 @@ CI: - all: - changed-files: - any-glob-to-any-file: - - '.cirrus.yml' - '.github/dependabot.yml' - '.github/labeler.yml' - '.github/workflows/*' diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml deleted file mode 100644 index b4c64f3f28..0000000000 --- a/.github/workflows/coverity.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: Coverity -on: - schedule: - - cron: '42 0 * * *' # Run once per day, to avoid Coverity's submission limits - workflow_dispatch: - -permissions: - contents: read # to fetch code (actions/checkout) - -jobs: - scan: - runs-on: ubuntu-24.04 - - env: - CC: gcc - DEBIAN_FRONTEND: noninteractive - TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} - - steps: - - name: Checkout repository from github - if: env.TOKEN - uses: actions/checkout@v6.0.2 - - - name: Download Coverity - if: env.TOKEN - run: | - wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=vim" -O coverity_tool.tgz - mkdir cov-scan - tar ax -f coverity_tool.tgz --strip-components=1 -C cov-scan - - - name: Install packages - if: env.TOKEN - run: | - sudo apt-get update && sudo apt-get install -y \ - autoconf \ - gettext \ - libcanberra-dev \ - libperl-dev \ - python3-dev \ - liblua5.4-dev \ - lua5.4 \ - ruby-dev \ - tcl-dev \ - libgtk2.0-dev \ - desktop-file-utils \ - libtool-bin \ - libsodium-dev - - - name: Set up environment - if: env.TOKEN - run: | - echo "$(pwd)/cov-scan/bin" >> $GITHUB_PATH - ( - echo "NPROC=$(getconf _NPROCESSORS_ONLN)" - echo "CONFOPT=--enable-perlinterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp" - ) >> $GITHUB_ENV - - - name: Configure - if: env.TOKEN - run: | - ./configure --with-features=huge ${CONFOPT} --enable-fail-if-missing - # Append various warning flags to CFLAGS. - sed -i -f ci/config.mk.sed src/auto/config.mk - sed -i -f ci/config.mk.${CC}.sed src/auto/config.mk - # -O2 gives false warning and turns it into an error: - # warning: function may return address of local variable [-Wreturn-local-addr] - sed -i 's/-O2 \?//' src/auto/config.mk - - - name: Build/scan vim - if: env.TOKEN - run: | - cov-build --dir cov-int make -j${NPROC} - - - name: Submit results - if: env.TOKEN - run: | - tar zcf cov-scan.tgz cov-int - curl --form token=$TOKEN \ - --form email=$EMAIL \ - --form file=@cov-scan.tgz \ - --form version="$(git rev-parse HEAD)" \ - --form description="Automatic GHA scan" \ - 'https://scan.coverity.com/builds?project=vim' - env: - EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }} diff --git a/Filelist b/Filelist index 15f4711b98..33e07d5d36 100644 --- a/Filelist +++ b/Filelist @@ -3,7 +3,6 @@ # Source files for all source archives. SRC_ALL = \ - .cirrus.yml \ .gitattributes \ .git-blame-ignore-revs \ .github/MAINTAINERS \ @@ -15,7 +14,6 @@ SRC_ALL = \ .github/workflows/ci-windows.yml \ .github/workflows/ci.yml \ .github/workflows/codeql-analysis.yml \ - .github/workflows/coverity.yml \ .github/workflows/link-check.yml \ .github/actions/build_vim_on_linux/action.yml \ .github/actions/test_artifacts/action.yml \ diff --git a/README.md b/README.md index 3e57f0e8c6..387e5b2bca 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ # [![Vim The editor](https://github.com/vim/vim/raw/master/runtime/vimlogo.gif)](https://www.vim.org) [![Github Build status](https://github.com/vim/vim/workflows/GitHub%20CI/badge.svg)](https://github.com/vim/vim/actions?query=workflow%3A%22GitHub+CI%22) -[![Cirrus Build Status](https://api.cirrus-ci.com/github/vim/vim.svg)](https://cirrus-ci.com/github/vim/vim) [![Coverage Status](https://codecov.io/gh/vim/vim/coverage.svg?branch=master)](https://codecov.io/gh/vim/vim?branch=master) -[![Coverity Scan](https://scan.coverity.com/projects/241/badge.svg)](https://scan.coverity.com/projects/vim) [![Debian CI](https://badges.debian.net/badges/debian/testing/vim/version.svg)](https://buildd.debian.org/vim) [![Packages](https://repology.org/badge/tiny-repos/vim.svg)](https://repology.org/metapackage/vim) [![Fossies codespell report](https://fossies.org/linux/test/vim-master.tar.gz/codespell.svg)](https://fossies.org/linux/test/vim-master.tar.gz/codespell.html) diff --git a/ci/lychee.toml b/ci/lychee.toml index 8b9f0099f2..515e4f54d9 100644 --- a/ci/lychee.toml +++ b/ci/lychee.toml @@ -26,7 +26,6 @@ exclude = [ '^file://.*', '^https?://(www\.)?badges\.debian\.net/.*$', '^https?://(www\.)?repology\.org/.*$', - '^https?://scan\.coverity\.com/.*$', '^https?://(www\.)?img\.shields\.io/.*$', '^https?://(www\.)?fossies\.org/.*$', '^https?://(www\.)?adobe\.com.*$', diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 40a961f328..66b8f96ed5 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 9.2. Last change: 2026 Apr 29 +*todo.txt* For Vim version 9.2. Last change: 2026 Jun 12 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1999,9 +1999,6 @@ Dominique can't reproduce it. ":function f(x) keepjumps" creates a function where every command is executed like it has ":keepjumps" before it. -Coverity: Check if there are new reported defects: -https://scan.coverity.com/projects/241 - Problem with editing file in binary mode. (Ingo Krabbe, 2009 Oct 8) Display error when 'tabline' that includes a file name with double-width -- 2.47.3