Skip to content

Commit df153dc

Browse files
committed
Add re2 2023-07-01 to the CI build matrix
As re2 2023-07-01 requires Abseil, we use Rob Savoury's Build Tools PPA to install it on Ubuntu 20.04. As the legacy Ruby builds run on Ubuntu 16.04 and the version of cmake there is too old to compile Abseil, we skip newer ABI versions of re2 for Ruby 2.0 and older. There are fatal problems with Bundler and older Ruby versions on Ubuntu 22.04 (see ruby/setup-ruby#496) otherwise we could benefit from libabsl-dev being available without a PPA.
1 parent 8b62c5c commit df153dc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,17 @@ jobs:
3636
soname: 9
3737
- version: "20221201"
3838
soname: 10
39+
- version: "20230701"
40+
soname: 11
3941
steps:
4042
- uses: actions/checkout@v3
4143
- name: Remove any existing libre2 installation
4244
run: sudo apt-get remove -y libre2-dev libre2-5
45+
- name: Install Abseil for newer re2 releases
46+
run: |
47+
sudo apt-get install -y software-properties-common
48+
sudo add-apt-repository ppa:savoury1/build-tools
49+
sudo apt-get install -y libabsl-dev
4350
- name: Download and install specific release of libre2
4451
run: |
4552
curl -Lo libre2-dev.deb https://github.com/mudge/re2-ci/releases/download/v2/libre2-dev_${{ matrix.libre2.version }}_amd64.deb

0 commit comments

Comments
 (0)