commit 00d2dc2da4a026a809250100697d204a633f9fdb
parent f6142cc42d8b85ba053f4866f1887de33a693022
Author: Dan Callaghan <djc@djc.id.au>
Date: Fri, 3 Mar 2023 15:06:51 +1100
stop testing Ruby < 2.4 in Github Actions
It's increasingly difficult to get a reproducible, working environment
for these old Ruby versions. Some gems (highline, unicode-display-width)
have begun asserting their Ruby interpreter version at runtime. And
some things (gpgme) fail to compile in newer environments with hard
to fix errors. Even using old revisions of nixpkgs it's not possible
because bundler < 2.2 was broken for a long time in nixpkgs.
Diffstat:
1 file changed, 0 insertions(+), 15 deletions(-)
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
@@ -17,12 +17,6 @@ jobs:
- ubuntu-latest
- macos-latest
ruby-version:
- - '2.0'
- - '2.1'
- # Ruby 2.2 fails installing sup gem with a nonsensical error:
- # Could not find 'xapian-ruby' (~> 1.2) among 21 total gem(s)
- #- '2.2'
- - '2.3'
- '2.4'
- '2.5'
- '2.6'
@@ -30,15 +24,6 @@ jobs:
- '3.0'
- '3.1'
exclude:
- # xapian-bindings 1.2.2 fails to build on MacOS:
- # clang: warning: include path for libstdc++ headers not found; pass
- # '-stdlib=libc++' on the command line to use the libc++ standard
- # library instead [-Wstdlibcxx-not-found]
- # xapian_wrap.cc:1836:10: fatal error: 'string' file not found
- # Probably just wrong compiler command or some mess that I can't be
- # bothered to figure out.
- - os: macos-latest
- ruby-version: '2.0'
# xapian-bindings 1.4.18 fails to build with Ruby 3.0+ on MacOS:
# error: '__declspec' attributes are not enabled; use '-fdeclspec' or
# '-fms-extensions' to enable support for __declspec attributes