Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
Checks: '*,-fuchsia-*,-google-*,-zircon-*,-abseil-*,-modernize-use-trailing-return-type,-llvm-*,-llvmlibc-*'
CheckOptions: [{ key: misc-non-private-member-variables-in-classes, value: IgnoreClassesWithAllMemberVariablesBeingPublic }]
WarningsAsErrors: ''
HeaderFilterRegex: ''
FormatStyle: none
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
jobs_matrix:
strategy:
matrix:
os: [ubuntu-22.04, macos-14, windows-2022]
build_type: [Debug, Release]
os: [ubuntu-22.04, macos-14]
build_type: [Debug]

runs-on: ${{ matrix.os }}
steps:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/cpp-linter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: cpp-linter

on:
pull_request:
paths: ['**.cpp', '**.hpp', '**CMakeLists.txt', '**.cmake']
push:
paths: ['**.cpp', '**.hpp', '**CMakeLists.txt', '**.cmake']

jobs:
cpp-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cpp-linter/cpp-linter-action@main
id: linter
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
style: file
files-changed-only: false
thread-comments: false
ignore: build

- name: Fail fast?!
if: steps.linter.outputs.checks-failed != 0
run: |
echo "some linter checks failed"
echo "total checks-failed: ${{ steps.linter.outputs.checks-failed }}"
echo "clang-tidy checks-failed: ${{ steps.linter.outputs.clang-tidy-checks-failed }}"
2 changes: 2 additions & 0 deletions app-qtwidget/src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ MainWindow::MainWindow( QWidget* parent )
connect( &m_timer, &QTimer::timeout, this, &MainWindow::cycle );
connect( ui->actionOpen_ROM, &QAction::triggered, this, &MainWindow::selectRomFile );

int a = 10;

m_timer.start( 1 );
}

Expand Down