Skip to content

GitHub workflows: Add Coverity Scan and refactoring #4

GitHub workflows: Add Coverity Scan and refactoring

GitHub workflows: Add Coverity Scan and refactoring #4

Workflow file for this run

name: CMake Build And Tests
on:
pull_request:
branches: [ "main" ]
workflow_dispatch:
inputs:
build_type:
description: 'Build type (e.g., Debug, Release)'
required: true
default: 'Release'
jobs:
prepare:
uses: ./.github/workflows/build-prepare.yml
with:
build_type: ${{ inputs.build_type }}
build:
runs-on: ubuntu-24.04
needs: prepare
steps:
- name: Build
run: cmake --build build --config ${{ inputs.build_type }}
- name: Tests
working-directory: ${{ github.workspace }}/build
run: ctest -V --test-dir test