2828 CARGO_TERM_COLOR : always
2929 RUST_BACKTRACE : " 1"
3030 RUSTFLAGS : " -D warnings"
31- LLVM_CONFIG_PATH : llvm-config-10
31+ LLVM_CONFIG_PATH : llvm-config-18
3232 RUST_STABLE_TOOLCHAIN : " 1.65"
3333 RUST_NIGHTLY_TOOLCHAIN : " nightly-2023-07-12"
3434
3737 needs :
3838 - test
3939 - fmt
40- runs-on : ubuntu-20 .04
40+ runs-on : ubuntu-24 .04
4141 steps :
4242 - name : Check results
4343 run : |
5050 fail-fast : false
5151 matrix :
5252 os :
53- - ubuntu-20 .04
53+ - ubuntu-24 .04
5454 # TODO Temporarily remove macos and wait for the docker container's connection refused problem to be resolved.
55- # - macos-12
55+ # - macos-14
5656 flag :
5757 # Many composer dependencies need PHP 7.2+
5858 - php_version : " 7.2"
@@ -103,18 +103,14 @@ jobs:
103103 with :
104104 submodules : " recursive"
105105
106- - name : Install libclang and protobuf for Linux
107- if : matrix.os == 'ubuntu-20 .04'
108- run : sudo apt-get install -y llvm-10 -dev libclang-10 -dev protobuf-compiler
106+ - name : Install dependencies for Linux
107+ if : matrix.os == 'ubuntu-24 .04'
108+ run : sudo apt-get update && sudo apt-get install -y llvm-18 -dev libclang-18 -dev protobuf-compiler libsasl2-dev
109109
110110 - name : Install protobuf for Macos
111- if : matrix.os == 'macos-12 '
111+ if : matrix.os == 'macos-14 '
112112 run : brew install protobuf
113113
114- - name : Install libsasl2
115- if : matrix.os == 'ubuntu-20.04'
116- run : sudo apt-get install -y libsasl2-dev
117-
118114 - name : Setup PHP
119115 uses : shivammathur/setup-php@v2
120116 with :
@@ -127,7 +123,7 @@ jobs:
127123 yaml, zip, mongodb, memcache
128124
129125 - name : Setup php-fpm for Linux
130- if : matrix.os == 'ubuntu-20 .04'
126+ if : matrix.os == 'ubuntu-24 .04'
131127 run : |
132128 sudo apt-get install -y php${{ matrix.flag.php_version }}-fpm
133129 sudo ln -sf /usr/sbin/php-fpm${{ matrix.flag.php_version }} /usr/sbin/php-fpm
@@ -180,13 +176,14 @@ jobs:
180176 run : composer install --working-dir=tests/php
181177
182178 - name : Setup docker (missing on MacOS)
183- if : matrix.os == 'macos-12 '
179+ if : matrix.os == 'macos-14 '
184180 run : |
185181 brew install docker
186182 brew install docker-compose
187183 mkdir -p ~/.docker/cli-plugins
188184 ln -sfn $(brew --prefix)/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
189185
186+ brew install colima
190187 colima start
191188
192189 # For test containers to find the Colima socket
@@ -248,7 +245,7 @@ jobs:
248245 fail-fast : false
249246 matrix :
250247 os :
251- - ubuntu-20 .04
248+ - ubuntu-24 .04
252249
253250 runs-on : ${{ matrix.os }}
254251 steps :
0 commit comments