From 0642ef8222f4486d166e179f8fd7c70700f16209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=82osz=20Kosobucki?= Date: Thu, 11 Jul 2024 16:51:06 +0200 Subject: [PATCH] Split clang-tidy and Cppcheck into separate jobs That's a workaround for problems described in previous commit. Clang-tidy build and cppcheck will run in separate jobs in parallel an either can fail with the other being executed anyway. --- .github/workflows/nightly.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e9317dc..c2390ed 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -28,7 +28,6 @@ jobs: os: windows-2022 tidy-executble: clang-tidy fail-fast: false - continue-on-error: true steps: - name: Checkout sources @@ -63,6 +62,15 @@ jobs: exit 1 } + cppcheck: + runs-on: ubuntu-24.04 + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - name: Install Cppcheck + run: sudo apt update -qq && sudo apt install -y cppcheck + - name: Run Cppcheck if: runner.os == 'Linux' shell: pwsh