From db2a30fd0fc7063094eea638cce603e1b794b563 Mon Sep 17 00:00:00 2001 From: dimbo4ka Date: Wed, 13 Aug 2025 20:00:53 +0300 Subject: [PATCH 1/2] build: add workflow --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6ebac46 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: C++ CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build-and-test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Install dependencies + run: sudo apt-get update && sudo apt-get install -y build-essential g++ cmake + + - name: Configure CMake + run: cmake -S . -B build + + - name: Build + run: cmake --build build -- -j$(nproc) + + - name: Run tests + run: ctest --test-dir build --output-on-failure \ No newline at end of file From dafd2e086a7fb6525cd4df8769208e717d622961 Mon Sep 17 00:00:00 2001 From: dimbo4ka Date: Wed, 13 Aug 2025 20:04:43 +0300 Subject: [PATCH 2/2] fix: include --- src/ArgParser/ArgParser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ArgParser/ArgParser.cpp b/src/ArgParser/ArgParser.cpp index cee4b87..fcb2961 100644 --- a/src/ArgParser/ArgParser.cpp +++ b/src/ArgParser/ArgParser.cpp @@ -1,5 +1,6 @@ #include "ArgParser/ArgParser.hpp" +#include #include namespace ArgumentParser {