Skip to content
Draft
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
8 changes: 7 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Checks: |
readability-*,
-readability-identifier-length,
-readability-magic-numbers,
-readability-function-cognitive-complexity
-readability-redundant-member-init

CheckOptions:
- key: readability-identifier-naming.ClassCase
Expand All @@ -51,6 +51,10 @@ CheckOptions:
value: lower_case
- key: readability-identifier-naming.MemberCase
value: lower_case
- key: readability-identifier-naming.PrivateMemberSuffix
value: _
- key: readability-identifier-naming.ProtectedMemberSuffix
value: _
- key: readability-identifier-naming.MemberIgnoredRegexp
value: ".*QDMI.*"
- key: readability-identifier-naming.MethodCase
Expand All @@ -67,3 +71,5 @@ CheckOptions:
value: ".*QDMI.*"
- key: readability-identifier-naming.VariableCase
value: lower_case
- key: readability-identifier-naming.VariableIgnoredRegexp
value: ".*QDMI.*"
2 changes: 0 additions & 2 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ flag_management:
- "include"
- "examples/device/src"
- "examples/driver"
- "examples/fomac"
- "examples/tool"

parsers:
gcov:
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ jobs:
clang-version: 21
cpp-linter-extra-args: "-std=c++20"

template:
name: 🏗️ Build and Test Templates
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-template) && github.event.action != 'closed'
uses: ./.github/workflows/reusable-template-ci.yml

docs:
name: 📝 Build and Deploy Docs
needs: change-detection
Expand All @@ -69,7 +63,6 @@ jobs:
- change-detection
- tests
- linter
- template
- docs
runs-on: ubuntu-latest
steps:
Expand All @@ -83,9 +76,6 @@ jobs:
}} ${{
fromJSON(needs.change-detection.outputs.run-linter)
&& '' || 'linter,'
}} ${{
fromJSON(needs.change-detection.outputs.run-template)
&& '' || 'template,'
}} ${{
fromJSON(needs.change-detection.outputs.run-docs)
&& '' || 'docs,'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Install and Build 🔧
run: |
cmake -S . -B build -DBUILD_QDMI_DOCS=ON
cmake -S . -B build -DQDMI_BUILD_DOCS=ON
cmake --build build --target qdmi-docs
mv build/docs/html/ static

Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/reusable-change-detection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
run-linter:
description: Whether to run the linter
value: ${{ jobs.change-detection.outputs.run-linter || false }}
run-template:
description: Whether to run the template job
value: ${{ jobs.change-detection.outputs.run-template || false }}
run-docs:
description: Whether to run the documentation job
value: ${{ jobs.change-detection.outputs.run-docs || false }}
Expand All @@ -29,7 +26,6 @@ jobs:
outputs:
run-tests: ${{ steps.tests-changes.outputs.run-tests || false }}
run-linter: ${{ steps.linter-changes.outputs.run-linter || false }}
run-template: ${{ steps.template-changes.outputs.run-template || false }}
run-docs: ${{ steps.docs-changes.outputs.run-docs || false }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand All @@ -42,7 +38,6 @@ jobs:
include/**
test/**
examples/**
templates/**
CMakeLists.txt
cmake/**
.github/codecov.yml
Expand All @@ -63,7 +58,6 @@ jobs:
include/**
test/**
examples/**
templates/**
.clang-tidy
.github/workflows/ci.yml
- name: Set a flag for running the linter
Expand All @@ -73,24 +67,6 @@ jobs:
id: linter-changes
run: >-
echo "run-linter=true" >> "${GITHUB_OUTPUT}"
- name: Get a list of the changed files relevant for the template job
if: github.event_name == 'pull_request'
id: changed-template-files
uses: Ana06/get-changed-files@25f79e676e7ea1868813e21465014798211fad8c # v2.3.0
with:
filter: |
include/**
examples/**
templates/**
.github/workflows/reusable-template-ci.yml
.github/workflows/ci.yml
- name: Set a flag for running the template job
if: >-
github.event_name != 'pull_request' ||
steps.changed-template-files.outputs.added_modified_renamed != ''
id: template-changes
run: >-
echo "run-template=true" >> "${GITHUB_OUTPUT}"
- name: Get a list of the changed files relevant for documentation build
if: github.event_name == 'pull_request'
id: changed-docs-files
Expand All @@ -99,7 +75,6 @@ jobs:
filter: |
include/**
examples/**
templates/**
docs/**
.github/workflows/reusable-docs.yml
.github/workflows/ci.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-cpp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: 📦 Install
uses: ./.github/workflows/reusable-cpp-install-tests.yml
with:
cmake-args: "-G Ninja -DBUILD_QDMI_DOCS=OFF"
cmake-args: "-G Ninja -DQDMI_BUILD_DOCS=OFF"

coverage:
name: 📈
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-cpp-install-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
# configure CMake for using the installed QDMI
- name: Configure CMake for use of installed QDMI
run:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DUSE_INSTALLED_QDMI=ON -DBUILD_CXX_QDMI_TESTS=ON
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DQDMI_USE_INSTALLED=ON -DBUILD_CXX_QDMI_TESTS=ON
-DCMAKE_PREFIX_PATH=install-dir ${{ inputs.cmake-args }}
# build the project
- name: Build QDMI examples, templates, and tests with installed QDMI
- name: Build QDMI examples and tests with installed QDMI
run: cmake --build build --config Release
# run the tests
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install and Build 🔧
if: github.event.action != 'closed'
run: |
cmake -S . -B build -DBUILD_QDMI_DOCS=ON
cmake -S . -B build -DQDMI_BUILD_DOCS=ON
cmake --build build --target qdmi-docs
mv build/docs/html/ static
- name: Inject version selector
Expand Down
76 changes: 0 additions & 76 deletions .github/workflows/reusable-template-ci.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
[default.extend-words]
wille = "wille"

[default.extend-identifiers]
FoMaC = "FoMaC"
Loading
Loading