Add CMake step to CI
Some checks failed
CI / build-and-analyze (push) Failing after 1m16s

This commit is contained in:
2026-08-09 16:40:16 +03:00
parent 130846e427
commit 12b92f6a57

View File

@@ -17,7 +17,7 @@ jobs:
- name: Install tools
run: |
sudo apt-get update -qq
sudo apt-get install -y build-essential clang clang-tools clang-tidy cppcheck gcc-mingw-w64-x86-64
sudo apt-get install -y build-essential clang clang-tools clang-tidy cppcheck gcc-mingw-w64-x86-64 cmake
- name: Build with GCC
run: |
@@ -34,6 +34,11 @@ jobs:
make -f Makefile.posix clean
make -f Makefile.mingw CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar CFLAGS="-std=c99 -Wall -Wextra -Wpedantic -Werror -O2"
- name: Build with CMake
run: |
cmake -S . -B build
cmake --build build
- name: Linting checks
run: |
echo "Running all linting checks..."