Skip to content

Commit b73d065

Browse files
committed
adjust test CI matrix for supported clang versions
1 parent f913cee commit b73d065

File tree

2 files changed

+37
-12
lines changed

2 files changed

+37
-12
lines changed

.github/install-clang-action/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ runs:
3333
shell: bash
3434
continue-on-error: true
3535
run: |
36+
brew update
3637
brew install llvm@${{ inputs.version }}
3738
ln -s "$(brew --prefix llvm@${{ inputs.version }})/bin/clang-format" "/usr/local/bin/clang-format-${{ inputs.version }}"
3839
ln -s "$(brew --prefix llvm@${{ inputs.version }})/bin/clang-tidy" "/usr/local/bin/clang-tidy-${{ inputs.version }}"

.github/workflows/run-dev-tests.yml

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,6 @@ jobs:
8484
- if: runner.os == 'Linux'
8585
run: sudo apt-get update
8686

87-
- name: Install clang v8
88-
if: runner.os == 'Linux'
89-
uses: ./.github/install-clang-action
90-
with:
91-
version: '8'
92-
93-
- name: Collect Coverage for clang v8
94-
if: runner.os == 'Linux'
95-
env:
96-
CLANG_VERSION: '8'
97-
run: uvx nox -s test -- --profile ci
98-
9987
- name: Install clang v9
10088
uses: ./.github/install-clang-action
10189
with:
@@ -194,6 +182,42 @@ jobs:
194182
- name: Collect Coverage for clang v18
195183
env:
196184
CLANG_VERSION: '18'
185+
run: uvx nox -s test -- --profile ci
186+
187+
- name: Install clang v19
188+
if: runner.os == 'Linux'
189+
uses: ./.github/install-clang-action
190+
with:
191+
version: '19'
192+
193+
- name: Collect Coverage for clang v19
194+
if: runner.os == 'Linux'
195+
env:
196+
CLANG_VERSION: '19'
197+
run: uvx nox -s test -- --profile ci
198+
199+
- name: Install clang v20
200+
if: runner.os == 'Linux'
201+
uses: ./.github/install-clang-action
202+
with:
203+
version: '20'
204+
205+
- name: Collect Coverage for clang v20
206+
if: runner.os == 'Linux'
207+
env:
208+
CLANG_VERSION: '20'
209+
run: uvx nox -s test -- --profile ci
210+
211+
- name: Install clang v21
212+
if: runner.os == 'Linux'
213+
uses: ./.github/install-clang-action
214+
with:
215+
version: '21'
216+
217+
- name: Collect Coverage for clang v21
218+
if: runner.os == 'Linux'
219+
env:
220+
CLANG_VERSION: '21'
197221
run: uvx nox -s test -- --profile all
198222

199223
- name: Generate Coverage HTML report

0 commit comments

Comments
 (0)