From eacc9c88e8e65e9637bf35f99e43906e9e5bf85c Mon Sep 17 00:00:00 2001 From: asaky Date: Mon, 18 May 2026 08:59:08 +0300 Subject: [PATCH] simplified CI pipeline configuration --- .gitea/workflows/ci.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index feb4d6b..c3cfdbd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,11 +7,12 @@ on: jobs: lint: - name: 1. Lint + name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - + - name: Checkout + uses: actions/checkout@v4 + - name: Install cppcheck run: | sudo apt-get update @@ -22,30 +23,32 @@ jobs: cppcheck --enable=all -I include/ --suppress=missingIncludeSystem src/ tests/ --error-exitcode=1 test: - name: 2. Test + name: Test runs-on: ubuntu-latest needs: lint steps: - - uses: actions/checkout@v4 - + - name: Checkout + uses: actions/checkout@v4 + - name: Install dependencies run: | sudo apt-get update sudo apt-get install -y cmake build-essential - - name: Build and Test + - name: Build and test run: | cmake -B build cmake --build build cd build && ctest --output-on-failure build: - name: 3. Build + name: Build runs-on: ubuntu-latest - needs: test + needs: test steps: - - uses: actions/checkout@v4 - + - name: Checkout + uses: actions/checkout@v4 + - name: Install dependencies run: | sudo apt-get update @@ -54,4 +57,4 @@ jobs: - name: Build Release run: | cmake -B build -DCMAKE_BUILD_TYPE=Release - cmake --build build \ No newline at end of file + cmake --build build