Skip to content

CommandAPDU reuse data object to avoid PIN copy #26

CommandAPDU reuse data object to avoid PIN copy

CommandAPDU reuse data object to avoid PIN copy #26

name: CMake (Fedora Linux)
on: [push, pull_request]
env:
BUILD_TYPE: RelWithDebInfo
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
container: ['fedora:latest']
experimental: [false]
include:
- container: 'fedora:rawhide'
experimental: true
container:
image: ${{ matrix.container }}
steps:
- name: Install dependencies
run: dnf install -y --setopt=install_weak_deps=False git gcc-c++ cmake gtest-devel openssl-devel pcsc-lite-devel
- uses: actions/checkout@v4
- 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