Skip to content

Кириллов Александр Альбертович #32

Кириллов Александр Альбертович

Кириллов Александр Альбертович #32

Workflow file for this run

name: Test
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Install conan
run: pip install conan
- name: Install GoogleTest
run: |
conan profile detect --force
conan install . --build=missing
- name: Build
run: |
cmake --preset conan-release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cmake --build build/Release -j $(nproc)
- name: Test
run: ctest --test-dir build/Release --output-on-failure
- name: Install Cppcheck
run: |
sudo apt-get update
sudo apt-get install -y cppcheck
- name: Cppcheck
run: |
cppcheck \
--project=./build/Release/compile_commands.json \
--enable=all \
--template=gcc \
--file-filter="src/*.cpp" \
--suppress=checkersReport \
--suppress=missingIncludeSystem \
--error-exitcode=1