Fixed includes and formatting. #23
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: static-analysis | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Clang | |
uses: egor-tensin/setup-clang@v1 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libglfw3-dev cppcheck | |
- name: Configure CMake | |
run: cmake -B ./build -DFAIL_ON_WARNINGS=ON | |
- name: Build | |
run: cmake --build ./build |