88
88
os : [ubuntu-latest, macos-latest, windows-latest]
89
89
php : ["8.0", "8.1", "8.2", "8.3", "8.4"]
90
90
rust : [stable, nightly]
91
- clang : ["15", "17 "]
91
+ clang : ["15", "18 "]
92
92
phpts : [ts, nts]
93
93
exclude :
94
94
# ext-php-rs requires nightly Rust when on Windows.
@@ -100,7 +100,7 @@ jobs:
100
100
- os : ubuntu-latest
101
101
phpts : ts
102
102
- os : macos-latest
103
- clang : " 17 "
103
+ clang : " 15 "
104
104
- os : ubuntu-latest
105
105
clang : " 15"
106
106
- os : windows-latest
@@ -136,22 +136,22 @@ jobs:
136
136
id : cache-llvm
137
137
uses : actions/cache@v4
138
138
# Macos build doesn't work with clang < 18. As a build for version 18 is not available, we skip the setup
139
- if : " !contains(matrix.os, 'windows') && !contains(matrix.os, 'macos') "
139
+ if : " !contains(matrix.os, 'windows')"
140
140
with :
141
141
path : ${{ runner.temp }}/llvm-${{ matrix.clang }}
142
142
key : ${{ matrix.os }}-llvm-${{ matrix.clang }}
143
143
- name : Setup LLVM & Clang
144
144
id : clang
145
145
uses : KyleMayes/install-llvm-action@v2
146
146
# Macos build doesn't work with clang < 18. As a build for version 18 is not available, we skip the setup
147
- if : " !contains(matrix.os, 'windows') && !contains(matrix.os, 'macos') "
147
+ if : " !contains(matrix.os, 'windows')"
148
148
with :
149
149
version : ${{ matrix.clang }}
150
150
directory : ${{ runner.temp }}/llvm-${{ matrix.clang }}
151
151
cached : ${{ steps.cache-llvm.outputs.cache-hit }}
152
152
- name : Configure Clang
153
153
# Macos build doesn't work with clang < 18. As a build for version 18 is not available, we skip the setup
154
- if : " !contains(matrix.os, 'windows') && !contains(matrix.os, 'macos') "
154
+ if : " !contains(matrix.os, 'windows')"
155
155
run : |
156
156
echo "LIBCLANG_PATH=${{ runner.temp }}/llvm-${{ matrix.clang }}/lib" >> $GITHUB_ENV
157
157
echo "LLVM_VERSION=${{ steps.clang.outputs.version }}" >> $GITHUB_ENV
@@ -164,7 +164,7 @@ jobs:
164
164
# Test
165
165
- name : Test inline examples
166
166
# Macos fails on unstable rust. We skip the inline examples test for now.
167
- if : " !(contains(matrix.os, 'macos') && matrix.rust == 'nightly')"
167
+ # if: "!(contains(matrix.os, 'macos') && matrix.rust == 'nightly')"
168
168
run : cargo test --release --all --features closure,anyhow --no-fail-fast
169
169
build-zts :
170
170
name : Build with ZTS
0 commit comments