Skip to content

Commit

Permalink
add clang-format 14 (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger authored Mar 23, 2023
1 parent a021567 commit 9746e87
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- centos8-lcg100-gcc10
- centos8-lcg101-gcc11
- format10
- format14
- ubuntu1804_cuda
- ubuntu1804_cuda_oneapi
- ubuntu1804_rocm
Expand Down
15 changes: 15 additions & 0 deletions format14/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM ubuntu:22.04

LABEL description="Ubuntu with clang-format v14"
LABEL maintainer="Paul Gessinger <[email protected]>"
# increase whenever any of the RUN commands change
LABEL version="1"

RUN apt-get -y update \
&& apt-get -y install clang-format-14 git \
&& apt-get clean all \
&& update-alternatives \
--install /usr/bin/clang-format clang-format /usr/bin/clang-format-14 100 \
--slave /usr/bin/clang-format-diff clang-format-diff /usr/bin/clang-format-diff-14 \
--slave /usr/bin/git-clang-format git-clang-format /usr/bin/git-clang-format-14

0 comments on commit 9746e87

Please sign in to comment.