Skip to content

Commit dd82f2e

Browse files
committed
fix(ci): switch to Ubuntu 24.04 for unvendored tests
Fixes: * Switch to Ubuntu 24.04, as the ubuntu-20.04 runner is no longer provided by GitHub Actions. Improvements: * Use a Docker image for consistency with other CI jobs. * Enable unvendored Google Benchmark and simdjson.
1 parent f94349d commit dd82f2e

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/unvendored.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,33 +66,31 @@ jobs:
6666
run: ctest --build-config Debug --verbose
6767

6868
ubuntu:
69-
name: Ubuntu 20.04
70-
runs-on: ubuntu-20.04
69+
name: Ubuntu 24.04
70+
runs-on: ubuntu-latest
71+
container: 24.04
7172
steps:
7273
- name: install dependencies
7374
run: |
7475
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y \
76+
libbenchmark-dev \
7577
libgmock-dev \
76-
libgtest-dev
78+
libgtest-dev \
79+
libsimdjson-dev
7780
7881
- name: checkout
7982
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
8083

8184
- name: configure
8285
run: |
83-
# TODO(strager): Use host Google Benchmark after this bug is fixed:
84-
# https://bugs.launchpad.net/ubuntu/+source/benchmark/+bug/1887872
85-
# TODO(strager): Use host Boost after Ubuntu upgrades to version 1.75
86-
# or newer:
87-
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978748#15
88-
# TODO(strager): Use host simdjson after Ubuntu imports a stable
89-
# version from Debian.
9086
cmake \
9187
-DCMAKE_EXE_LINKER_FLAGS=-ffat-lto-objects \
9288
-DCMAKE_BUILD_TYPE=Debug \
9389
-DBUILD_TESTING=YES \
9490
-DQUICK_LINT_JS_ENABLE_BENCHMARKS=YES \
91+
-DQUICK_LINT_JS_USE_BUNDLED_GOOGLE_BENCHMARK=NO \
9592
-DQUICK_LINT_JS_USE_BUNDLED_GOOGLE_TEST=NO \
93+
-DQUICK_LINT_JS_USE_BUNDLED_SIMDJSON=NO \
9694
-S . -B .
9795
shell: bash
9896
- name: build

0 commit comments

Comments
 (0)