File tree Expand file tree Collapse file tree 5 files changed +26
-5
lines changed Expand file tree Collapse file tree 5 files changed +26
-5
lines changed Original file line number Diff line number Diff line change @@ -134,9 +134,13 @@ jobs:
134
134
- name : patch cmake implicit link libraries on macosx
135
135
if : ${{ matrix.os == 'macosx' }}
136
136
shell : bash
137
- run : |
137
+ run : |
138
138
sed -i.backup 's/gcc_eh.\*|/gcc_eh.*|gcc_ext.*|/g' "$(find /opt/homebrew/Cellar -name CMakeParseImplicitLinkInfo.cmake)"
139
139
brew install gcc@11
140
+ - name : update homebrew
141
+ if : ${{ matrix.os == 'macosx' }} && matrix.clang-version >= '18'
142
+ shell : bash
143
+ run : brew upgrade node
140
144
- name : cmake
141
145
run : cmake -S ${{ matrix.release }}/llvm -B ${{ matrix.release }}/build ${{ env.COMMON_CMAKE_ARGS }} ${{ matrix.os-cmake-args }} ${{ matrix.extra-cmake-args }}
142
146
- name : build
Original file line number Diff line number Diff line change
1
+ name : Run pre-commit
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ types : opened
7
+
8
+ jobs :
9
+ pre-commit :
10
+ uses : cpp-linter/.github/.github/workflows/pre-commit.yml@main
Original file line number Diff line number Diff line change 8
8
default : ' '
9
9
required : true
10
10
type : string
11
-
11
+
12
12
jobs :
13
13
install :
14
14
runs-on : ${{ matrix.os }}
59
59
chmod +x clang-query-${{ env.bin_suffix }}
60
60
echo "== Output clang-query version"
61
61
./clang-query-${{ env.bin_suffix }} --version
62
-
62
+
63
63
gh release download ${{ inputs.tag }} --pattern 'clang-apply-replacements-${{ env.bin_suffix }}'
64
64
gh release download ${{ inputs.tag }} --pattern 'clang-apply-replacements-${{ env.checksum_suffix }}'
65
65
echo "== Output clang-apply-replacements checksum"
Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/pre-commit/pre-commit-hooks
3
+ rev : v5.0.0
4
+ hooks :
5
+ - id : trailing-whitespace
6
+ exclude : ' \.patch$'
7
+ - id : check-yaml
Original file line number Diff line number Diff line change 4
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 )
5
5
![ ] ( https://img.shields.io/badge/platform-linux--64%20%7C%20win--64%20%7C%20osx--64%20-blue )
6
6
7
- Includes clang-format, clang-tidy, clang-query and clang-apply-replacements.
7
+ Includes clang-format, clang-tidy, clang-query and clang-apply-replacements.
8
8
9
9
The supported versions are as follows:
10
10
11
11
| OS/Version | 19| 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 |
12
12
| -----------| --| ---| ---| ---| ---| ---| ---| ---| ---| ---| ---| ---| ---|
13
- | Linux 64 | ✔️| ✔️ | ✔️| ✔️| ✔️ | ✔️| ✔️ | ✔️ | ✔️| ✔️| ✔️| ✔️| ✔️ |
13
+ | Linux 64 | ✔️| ✔️ | ✔️| ✔️| ✔️ | ✔️| ✔️ | ✔️ | ✔️| ✔️| ✔️| ✔️| ✔️ |
14
14
| Window 64 | ✔️| ✔️ | ✔️| ✔️| ✔️ | ✔️| ✔️ | ✔️ | ✔️| ✔️| ✔️| ✔️| ✔️ |
15
15
| macOS 64 | ✔️| ✔️ | ✔️| ✔️| ✔️ | ✔️| ✔️ | ✔️ | ✔️| ✔️| ✔️| ✔️| ✔️ |
16
16
You can’t perform that action at this time.
0 commit comments