diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 29fc3c1e..3685f8e3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -53,9 +53,20 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-14] - # Building older versions of Vim requires v8.2.1118 or less - vim-version: [v7.4.2119, v8.2.1118] + include: + # Vim 7.4.2119 and 8.2.1118 are the minimum supported versions, but + # they cannot be built on macOS anymore: their configure fails with + # "NOT FOUND! You need to install a terminal library" because modern + # clang/Xcode rejects the implicit-int main() used by the old + # configure checks. See rhysd/action-setup-vim#38 and vim 8.2.5135. + - os: ubuntu-latest + vim-version: v7.4.2119 + - os: ubuntu-latest + vim-version: v8.2.1118 + # v8.2.5136 is the oldest Vim version that builds on current macOS + # runners (the configure fix landed in v8.2.5135). + - os: macos-latest + vim-version: v8.2.5136 runs-on: ${{ matrix.os }} steps: - name: Checkout kkoomen/vim-doge diff --git a/docs/TESTING.md b/docs/TESTING.md index 662c0665..e05c167b 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md @@ -90,7 +90,10 @@ Conventions: ## CI (`test` job in `.github/workflows/tests.yml`) Matrix: Vim 7.4.2119 / 8.2.1118 / 8.2.5172 / 9.0.1500 and Neovim -0.3.2 / stable on ubuntu + macos. Every job: +0.3.2 / stable on ubuntu + macos. Exception: the minimum Vim versions +(7.4.2119, 8.2.1118) run on ubuntu only — their configure cannot build on +current macOS runners (see `rhysd/action-setup-vim#38`), so macOS uses +v8.2.5136, the oldest Vim that builds there. Every job: 1. checks out this repo and `junegunn/vader.vim` into `vader.vim`, 2. caches `~/.cargo`,