Skip to content

feat: support clang v18 #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 16 additions & 51 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,58 +7,23 @@ version: 2
updates:
# https://github.com/dependabot/dependabot-core/issues/2178
- package-ecosystem: "docker"
directory: "all/"
directory: /
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "16/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "15/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "14/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "13/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "12-alpine-3.18/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "12/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "11-alpine-3.18/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "11/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "10/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "9/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "8/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "7/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "6/"
reviewers:
- "shenxianpeng"
groups:
pip:
patterns:
- "*"

- package-ecosystem: github-actions
directory: /
schedule:
interval: "weekly"
reviewers:
- "shenxianpeng"
groups:
actions:
patterns:
- "*"
4 changes: 2 additions & 2 deletions Dockerfile.all
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN set -e \
apt-get --no-install-recommends -y install clang-format-$CLANG_VERSION clang-tidy-$CLANG_VERSION; done \
&& rm -rf /var/lib/apt/lists/*

ENV CLANG_VERSIONS="17 16 15 14 13"
ENV CLANG_VERSIONS="18 17 16 15 14 13"

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand All @@ -33,7 +33,7 @@ RUN set -e \
&& rm llvm.sh \
&& rm -rf /var/lib/apt/lists/*

ENV CLANG_VERSIONS="17 16 15 14 13 12 11 10 9"
ENV CLANG_VERSIONS="18 17 16 15 14 13 12 11 10 9"
# Integrity testing
RUN set -e \
&& for VERSION in $CLANG_VERSIONS; do \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ You can find all the clang-tools Docker images on Docker Hub [registry](https://

## Supported tags and respective `Dockerfile` links

* [`all`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile.all) (Supported versions of clang-tools includes `17`, `16`, `15`, `14`, `13`, `12`, `11`, `10`, `9`)
* [`all`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile.all) (Supported versions of clang-tools includes `18`, `17`, `16`, `15`, `14`, `13`, `12`, `11`, `10`, `9`)
* [`18`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile)
* [`17`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile)
* [`16`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile)
* [`16-alpine`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile.alpine)
Expand Down
3 changes: 2 additions & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
group "default" {
targets = [
"all",
"18",
"17",
"16",
"16-alpine",
Expand Down Expand Up @@ -42,7 +43,7 @@ target "all" {

target "clang-tools" {
matrix = {
tgt = ["17", "16", "15", "14", "13"]
tgt = ["18", "17", "16", "15", "14", "13"]
}
name = "${tgt}"
dockerfile = "Dockerfile"
Expand Down