Only use cppcheck on Linux.

This commit is contained in:
Michael R Sweet 2021-05-30 12:58:36 -04:00
parent 0d1c0cbb14
commit 627b04d9f0
No known key found for this signature in database
GPG Key ID: 999559A027815955

View File

@ -34,13 +34,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: install prerequisites
run: brew install cppcheck
- name: make
run: make "COMMONFLAGS=-g -fsanitize=address"
- name: test
run: make test
- name: clang static analyzer
run: make CC=clang "GHA_ERROR=::error::" clang
- name: cppcheck
run: make "GHA_ERROR=::error::" cppcheck