diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b101fec..4e34734 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -27,11 +27,15 @@ jobs: - 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: Configure + run: cmake -B build + - name: Build + run: cmake --build build + - name: Run tests run: | - cmake -B build - cmake --build build - cd build && ctest --output-on-failure + cd build + ctest --output-on-failure --verbose + ./test_calculator build: name: Build @@ -44,9 +48,4 @@ jobs: - name: Build run: | cmake -B build -DCMAKE_BUILD_TYPE=Release - cmake --build build - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: calculator - path: build/ \ No newline at end of file + cmake --build build \ No newline at end of file