Skip to content

Commit 1b0b1cd

Browse files
authored
Support clang tools version 20 (#44)
* feat: support clang v20 * feat: update readme * feat: add build badge back * feat: add test for v20
1 parent 665be88 commit 1b0b1cd

File tree

3 files changed

+25
-21
lines changed

3 files changed

+25
-21
lines changed

.github/workflows/build-amd64.yml renamed to .github/workflows/build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: Build amd64
1+
name: Build
22

33
on:
44
push:
55
branches: [ master ]
66
paths:
7-
- ".github/workflows/build-amd64.yml"
7+
- ".github/workflows/build.yml"
88
pull_request:
99
branches: [ master ]
1010
paths:
11-
- ".github/workflows/build-amd64.yml"
11+
- ".github/workflows/build.yml"
1212
workflow_dispatch:
1313

1414
concurrency:
@@ -20,9 +20,11 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
clang-version: [ 19, 18, 17, 16, 15, 14, 13, 12.0.1, 12, 11, 10, 9, 8, 7 ]
23+
clang-version: [ 20, 19, 18, 17, 16, 15, 14, 13, 12.0.1, 12, 11, 10, 9, 8, 7 ]
2424
os: [ linux, macosx, windows ]
2525
include:
26+
- clang-version: 20
27+
release: llvm-project-20.0.0.src
2628
- clang-version: 19
2729
release: llvm-project-19.1.0.src
2830
- clang-version: 18
@@ -193,6 +195,8 @@ jobs:
193195
uses: actions/download-artifact@v4
194196
- name: list files
195197
run: ls -laR .
198+
- name: Delete all files over 2G # see issue 40
199+
run: find . -type f -size +2G -exec rm -v {} \;
196200
- name: draft release
197201
uses: svenstaro/upload-release-action@v2
198202
with:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
clang-version: [ 7, 8, 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18, 19 ]
17+
clang-version: [ 7, 8, 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18, 19, 20 ]
1818
os: [ ubuntu-latest, macos-latest, windows-latest ]
1919
include:
2020
- os: ubuntu-latest

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
# clang-tools static binaries
22

3-
<!-- [![Build](https://github.com/cpp-linter/clang-tools-static-binaries/actions/workflows/build-amd64.yml/badge.svg)](https://github.com/cpp-linter/clang-tools-static-binaries/actions/workflows/build-amd64.yml)
4-
[![Test](https://github.com/cpp-linter/clang-tools-static-binaries/actions/workflows/test.yml/badge.svg)](https://github.com/cpp-linter/clang-tools-static-binaries/actions/workflows/test.yml) -->
3+
<!-- [![Test](https://github.com/cpp-linter/clang-tools-static-binaries/actions/workflows/test.yml/badge.svg)](https://github.com/cpp-linter/clang-tools-static-binaries/actions/workflows/test.yml) -->
4+
[![Build](https://github.com/cpp-linter/clang-tools-static-binaries/actions/workflows/build.yml/badge.svg)](https://github.com/cpp-linter/clang-tools-static-binaries/actions/workflows/build.yml)
55
![](https://img.shields.io/badge/platform-linux--64%20%7C%20win--64%20%7C%20osx--64%20-blue)
66
![Maintenance](https://img.shields.io/maintenance/yes/2025)
77

88
Includes **[clang-format](https://clang.llvm.org/docs/ClangFormat.html), [clang-tidy](https://clang.llvm.org/extra/clang-tidy/), [clang-query](https://github.com/llvm/llvm-project/tree/main/clang-tools-extra/clang-query) and [clang-apply-replacements](https://github.com/llvm/llvm-project/tree/main/clang-tools-extra/clang-apply-replacements)**.
99

1010
The supported versions are as follows:
1111

12-
| Clang Tools |OS/Version |19|18 |17 |16 |15 |14 |13 |12 |11 |10 |9 |8 |7 |
13-
|:------------|-----------|--|---|---|---|---|---|---|---|---|---|---|---|---|
14-
|clang-format |Linux 64 |✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
15-
| |Window 64 |✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
16-
| |macOS 64 |✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
17-
| clang-tidy |Linux 64 |✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
18-
| |Window 64 |✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
19-
| |macOS 64 ||✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
20-
| clang-query |Linux 64 |✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
21-
| |Window 64 |✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
22-
| |macOS 64 |✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
23-
| clang-apply-replacements |Linux 64 |✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
24-
| |Window 64 |✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
25-
| |macOS 64 |✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
12+
| Clang Tools |OS/Version |20|19|18 |17 |16 |15 |14 |13 |12 |11 |10 |9 |8 |7 |
13+
|:------------|-----------|--|--|---|---|---|---|---|---|---|---|---|---|---|---|
14+
|clang-format |Linux 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
15+
| |Window 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
16+
| |macOS 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
17+
| clang-tidy |Linux 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
18+
| |Window 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
19+
| |macOS 64 |||✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
20+
| clang-query |Linux 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
21+
| |Window 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
22+
| |macOS 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
23+
| clang-apply-replacements| Linux 64|✔️|✔️|✔️|✔️|✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️|✔️|✔️|✔️|
24+
| |Window 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
25+
| |macOS 64 |✔️|✔️|✔️ |✔️|✔️|✔️ |✔️|✔️ |✔️ |✔️|✔️| ✔️|✔️|✔️ |
2626

2727
> [!CAUTION]
2828
> clang-tidy-19_macosx-amd64 - File size exceeds 2GB, unable to upload to GitHub releases. See #40

0 commit comments

Comments
 (0)