From: Fred Morcos Date: Wed, 21 Jun 2023 11:06:39 +0000 (+0200) Subject: Print a message when clang-tidy fails X-Git-Tag: rec-5.0.0-alpha1~153^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d50646ca12820830929ae541e58b95cd2447fbef;p=thirdparty%2Fpdns.git Print a message when clang-tidy fails --- diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index 9c33fb8393..7d2a75fd49 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -559,12 +559,15 @@ jobs: steps: - run: | if [ "x${{ needs.build-auth.outputs.clang-tidy-failed }}" != "x" -a "${{ needs.build-auth.outputs.clang-tidy-failed }}" != "0" ]; then + echo "::error::Auth clang-tidy failed" exit 1 fi - if [ "x${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "x" -a "${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "0" ]; then + if [ "x${{needs.build-recursor.outputs.clang-tidy-failed}}" != "x" -a "${{needs.build-recursor.outputs.clang-tidy-failed}}" != "0" ]; then + echo "::error::Rec clang-tidy failed" exit 1 fi - if [ "x${{needs.build-recursor.outputs.clang-tidy-failed}}" != "x" -a "${{needs.build-recursor.outputs.clang-tidy-failed}}" != "0" ]; then + if [ "x${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "x" -a "${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "0" ]; then + echo "::error::dnsdist clang-tidy failed" exit 1 fi