Skip to content

Commit

Permalink
Split clang-tidy and Cppcheck into separate jobs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MiKom committed Jul 11, 2024
1 parent 09f0a0c commit 0642ef8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
os: windows-2022
tidy-executble: clang-tidy
fail-fast: false
continue-on-error: true

steps:
- name: Checkout sources
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0642ef8

Please sign in to comment.