diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4ab95d..11490ee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,7 +57,9 @@ jobs: - name: Install Covimerage run: | - python -m pip install -q --user covimerage + # covimerage writes the JSON data format of coverage 4, while + # coverage 5 expects SQLite. + python -m pip install -q --user covimerage "coverage<5" python -m pip freeze - name: Compile js and py diff --git a/scripts/install-vim.sh b/scripts/install-vim.sh index f3a57c1..33fdc5b 100644 --- a/scripts/install-vim.sh +++ b/scripts/install-vim.sh @@ -4,6 +4,12 @@ set -ev git clone --depth 1 --branch "${VIM_VERSION}" https://github.com/vim/vim /tmp/vim cd /tmp/vim +case "${VIM_VERSION}" in + v7.*|v8.0.*) + # Old Vim sources do not build with recent compilers (GCC 14+, C23). + export CFLAGS="-O2 -std=gnu89 -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -Wno-error=incompatible-pointer-types" + ;; +esac ./configure --prefix="${HOME}/vim" --with-features=huge --enable-fail-if-missing make -j2 make install