chore: cppcheck 2.14.1 compatibility #242
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- master | |
jobs: | |
all: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: deps | |
run: | | |
sudo add-apt-repository universe | |
sudo apt install clang wayland-protocols libwlroots-dev libyaml-cpp-dev libcmocka-dev cppcheck valgrind -y | |
- name: gcc | |
run: make CC=gcc CXX=g++ clean way-displays | |
- name: clang | |
run: make CC=clang CXX=clang++ clean way-displays | |
- name: test | |
run: make CC=clang CXX=clang++ test | |
- name: cppcheck | |
run: make CC=clang CXX=clang++ cppcheck | |
- name: test valgrind | |
run: make CC=gcc CXX=g++ clean test-vg | |