Install cppcheck

This commit is contained in:
Michael R Sweet 2021-05-30 12:54:15 -04:00
parent 38557db43e
commit 1f0ca4fd5b
No known key found for this signature in database
GPG Key ID: 999559A027815955

View File

@ -16,7 +16,7 @@ jobs:
- name: update build environment
run: sudo apt-get update --fix-missing -y
- name: install prerequisites
run: sudo apt-get install -y zlib1g-dev
run: sudo apt-get install -y cppcheck zlib1g-dev
- name: make
run: make "COMMONFLAGS=-g -fsanitize=address"
- name: test
@ -34,6 +34,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: install prerequisites
run: brew install cppcheck
- name: make
run: make "COMMONFLAGS=-g -fsanitize=address"
- name: test