This commit is contained in:
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user