87
87
-DCMAKE_C_COMPILER=gcc-11
88
88
-DZSTD_STATIC_LINKING_ONLY=1
89
89
-DLLVM_ENABLE_ASSERTIONS=OFF
90
+ -DZLIB_USE_STATIC_LIBS=ON
90
91
LINUX_CMAKE_ARGS : ' -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_CXX_COMPILER=g++-10 -DCMAKE_C_COMPILER=gcc-10'
91
92
RELEASE : ' ${{ matrix.release }}'
92
93
suffix : ' ${{ matrix.clang-version }}_${{ matrix.os }}-amd64'
@@ -166,8 +167,10 @@ jobs:
166
167
167
168
./clang-format-${{ env.suffix }}${{ matrix.dotexe }} --version
168
169
./clang-query-${{ env.suffix }}${{ matrix.dotexe }} --version
170
+ file ./clang-tidy-${{ env.suffix }}${{ matrix.dotexe }}
169
171
./clang-tidy-${{ env.suffix }}${{ matrix.dotexe }} --version
170
172
./clang-apply-replacements-${{ env.suffix }}${{ matrix.dotexe }} --version
173
+ continue-on-error : true # continue to publish when clang-tidy 18+ failed on MacOS
171
174
- name : Create and print sha512sum
172
175
shell : bash
173
176
run : |
@@ -182,15 +185,15 @@ jobs:
182
185
cat clang-tidy-${{ env.suffix }}.sha512sum
183
186
cat clang-apply-replacements-${{ env.suffix }}.sha512sum
184
187
- name : Upload artifacts
185
- if : ${{ github.actor != 'dependabot[bot]' }} || github.event_name != 'pull_request'
188
+ if : github.event_name != 'pull_request'
186
189
uses : actions/upload-artifact@v4
187
190
with :
188
191
name : clang-tools-${{ matrix.release }}-${{ env.suffix }}
189
192
path : " ${{ matrix.release }}${{ matrix.bindir }}/clang-*-${{ env.suffix }}*"
190
193
retention-days : 1
191
194
draft-release :
192
195
runs-on : ubuntu-22.04
193
- if : ${{ github.actor != 'dependabot[bot]' }} || github.event_name != 'pull_request'
196
+ if : github.event_name != 'pull_request'
194
197
needs : build
195
198
steps :
196
199
- name : Download artifacts
0 commit comments