8787 -DCMAKE_C_COMPILER=gcc-11
8888 -DZSTD_STATIC_LINKING_ONLY=1
8989 -DLLVM_ENABLE_ASSERTIONS=OFF
90+ -DZLIB_USE_STATIC_LIBS=ON
9091 LINUX_CMAKE_ARGS : ' -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_CXX_COMPILER=g++-10 -DCMAKE_C_COMPILER=gcc-10'
9192 RELEASE : ' ${{ matrix.release }}'
9293 suffix : ' ${{ matrix.clang-version }}_${{ matrix.os }}-amd64'
@@ -166,8 +167,10 @@ jobs:
166167
167168 ./clang-format-${{ env.suffix }}${{ matrix.dotexe }} --version
168169 ./clang-query-${{ env.suffix }}${{ matrix.dotexe }} --version
170+ file ./clang-tidy-${{ env.suffix }}${{ matrix.dotexe }}
169171 ./clang-tidy-${{ env.suffix }}${{ matrix.dotexe }} --version
170172 ./clang-apply-replacements-${{ env.suffix }}${{ matrix.dotexe }} --version
173+ continue-on-error : true # continue to publish when clang-tidy 18+ failed on MacOS
171174 - name : Create and print sha512sum
172175 shell : bash
173176 run : |
@@ -182,15 +185,15 @@ jobs:
182185 cat clang-tidy-${{ env.suffix }}.sha512sum
183186 cat clang-apply-replacements-${{ env.suffix }}.sha512sum
184187 - name : Upload artifacts
185- if : ${{ github.actor != 'dependabot[bot]' }} || github.event_name != 'pull_request'
188+ if : github.event_name != 'pull_request'
186189 uses : actions/upload-artifact@v4
187190 with :
188191 name : clang-tools-${{ matrix.release }}-${{ env.suffix }}
189192 path : " ${{ matrix.release }}${{ matrix.bindir }}/clang-*-${{ env.suffix }}*"
190193 retention-days : 1
191194 draft-release :
192195 runs-on : ubuntu-22.04
193- if : ${{ github.actor != 'dependabot[bot]' }} || github.event_name != 'pull_request'
196+ if : github.event_name != 'pull_request'
194197 needs : build
195198 steps :
196199 - name : Download artifacts
0 commit comments