Skip to content

fixes clang-format errors #44

fixes clang-format errors

fixes clang-format errors #44

Workflow file for this run

name: CI C++ Std compliance
on:
push:
paths:
- '**.cpp'
- '**.h'
- '**CMakeLists.txt'
- '.github/workflows/**'
- 'conanfile.py'
pull_request:
paths:
- '**.cpp'
- '**.h'
- '**CMakeLists.txt'
- '.github/workflows/**'
- 'conanfile.py'
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
cpp_std: [14, 17, 20]
steps:
- name: Checkout SystemC-Components
uses: actions/checkout@v6
with:
submodules: true
- name: Cache Conan
uses: actions/cache@v4
with:
path: ~/.conan2
key: conan-${{ runner.os }}-unit-cpp${{ matrix.cpp_std }}-${{ hashFiles('conanfile.py') }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y g++ python3-pip cmake ninja-build
pip3 install -r requirements.txt
- name: Configure
run: cmake --preset Debug -B build -DCMAKE_CXX_STANDARD=${{ matrix.cpp_std }}
- name: Build
run: cmake --build build -j
- name: Run transaction_recording
run: ./build/examples/transaction_recording/transaction_recording