From 0db11a87d54fa45f1799e1c3df1715d5636695e7 Mon Sep 17 00:00:00 2001 From: Mikhail Romanko Date: Sun, 9 Aug 2026 16:39:23 +0300 Subject: [PATCH] Add CMake step to CI --- .github/workflows/ci.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3867db0..01e9e41 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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..."