|
84 | 84 | os: [ubuntu-latest, macos-latest, windows-latest] |
85 | 85 | php: ["8.0", "8.1", "8.2", "8.3", "8.4"] |
86 | 86 | rust: [stable, nightly] |
87 | | - clang: ["15", "17"] |
| 87 | + clang: ["17", "18"] |
88 | 88 | phpts: [ts, nts] |
89 | 89 | exclude: |
90 | 90 | # ext-php-rs requires nightly Rust when on Windows. |
|
98 | 98 | - os: macos-latest |
99 | 99 | clang: "17" |
100 | 100 | - os: ubuntu-latest |
101 | | - clang: "15" |
| 101 | + clang: "17" |
102 | 102 | - os: windows-latest |
103 | | - clang: "15" |
| 103 | + clang: "17" |
104 | 104 | env: |
105 | 105 | CARGO_TERM_COLOR: always |
106 | 106 | steps: |
@@ -131,23 +131,20 @@ jobs: |
131 | 131 | - name: Cache LLVM and Clang |
132 | 132 | id: cache-llvm |
133 | 133 | uses: actions/cache@v4 |
134 | | - # Macos build doesn't work with clang < 18. As a build for version 18 is not available, we skip the setup |
135 | | - if: "!contains(matrix.os, 'windows') && !contains(matrix.os, 'macos')" |
| 134 | + if: "!contains(matrix.os, 'windows')" |
136 | 135 | with: |
137 | 136 | path: ${{ runner.temp }}/llvm-${{ matrix.clang }} |
138 | 137 | key: ${{ matrix.os }}-llvm-${{ matrix.clang }} |
139 | 138 | - name: Setup LLVM & Clang |
140 | 139 | id: clang |
141 | 140 | uses: KyleMayes/install-llvm-action@v2 |
142 | | - # Macos build doesn't work with clang < 18. As a build for version 18 is not available, we skip the setup |
143 | | - if: "!contains(matrix.os, 'windows') && !contains(matrix.os, 'macos')" |
| 141 | + if: "!contains(matrix.os, 'windows')" |
144 | 142 | with: |
145 | 143 | version: ${{ matrix.clang }} |
146 | 144 | directory: ${{ runner.temp }}/llvm-${{ matrix.clang }} |
147 | 145 | cached: ${{ steps.cache-llvm.outputs.cache-hit }} |
148 | 146 | - name: Configure Clang |
149 | | - # Macos build doesn't work with clang < 18. As a build for version 18 is not available, we skip the setup |
150 | | - if: "!contains(matrix.os, 'windows') && !contains(matrix.os, 'macos')" |
| 147 | + if: "!contains(matrix.os, 'windows')" |
151 | 148 | run: | |
152 | 149 | echo "LIBCLANG_PATH=${{ runner.temp }}/llvm-${{ matrix.clang }}/lib" >> $GITHUB_ENV |
153 | 150 | echo "LLVM_VERSION=${{ steps.clang.outputs.version }}" >> $GITHUB_ENV |
|
0 commit comments