Skip to content

Fix coverity errors #464

Fix coverity errors

Fix coverity errors #464

name: CMake (Ubuntu Linux)
on: [push, pull_request]
env:
BUILD_TYPE: RelWithDebInfo
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt update -qq && sudo apt install --no-install-recommends -y cmake libgtest-dev libpcsclite-dev
- name: Configure CMake
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -S . -B build
- name: Build
run: cmake --build build --config $BUILD_TYPE -j $(nproc)
- name: Test
run: ctest -V -C $BUILD_TYPE --test-dir build