From 83476661ee43c823e162304830e154aa05b6534e Mon Sep 17 00:00:00 2001 From: SILCHENKO Date: Sun, 24 May 2026 18:33:10 +0300 Subject: [PATCH] first commit --- .github/workflows/ci.yaml | 3 +-- README.md | 0 test.cpp | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 README.md diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bc62a27..ce89bcb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: C++ CI/CD Pipeline +name: CI/CD on: push: @@ -22,7 +22,6 @@ jobs: - name: Run Static Analysis (Cppcheck) run: | cppcheck --enable=all --language=c++ --error-exitcode=1 main.cpp test.cpp - # Флаг --error-exitcode=1 остановит пайплайн, если найдутся критические ошибки - name: Configure CMake run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/test.cpp b/test.cpp index a8fcab4..9eb3690 100644 --- a/test.cpp +++ b/test.cpp @@ -1,7 +1,6 @@ #include int main() { - // Тест проходит успешно, если возвращает 0 std::cout << "Running simple test..." << std::endl; return 0; }