Обновить .gitea/workflows/ci.yml
All checks were successful
CI Pipeline / Lint (push) Successful in 40s
CI Pipeline / Test (push) Successful in 42s
CI Pipeline / Build (push) Successful in 40s

This commit is contained in:
2026-05-16 20:07:31 +03:00
parent 065a073866
commit 1e4648aa21

View File

@@ -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
@@ -45,8 +49,3 @@ jobs:
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: calculator
path: build/