Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
2dbd69c
Fix fedora docker build (#517)
mholowni Jan 9, 2026
330de18
Add workflow for building DL Streamer from source
dmichalo Jan 8, 2026
6f67c1b
Refactor OpenVINO and DL Streamer env setup in CI
dmichalo Jan 8, 2026
5f53568
Use DLS_REL_PATH env var in build environment setup
dmichalo Jan 8, 2026
4e08ccd
Update DL Streamer plugin verification steps
dmichalo Jan 8, 2026
271f049
Comment out Install Python dependencies
dmichalo Jan 8, 2026
05fad4a
Update build workflow to use self-hosted runner
dmichalo Jan 8, 2026
13aca18
Update CMake scripts and docs for dependency builds
dmichalo Jan 9, 2026
cac3d18
Remove duplicate libopencv-dev from package list
dmichalo Jan 9, 2026
058127b
Add OpenVINO GenAI installation to CI workflow
dmichalo Jan 9, 2026
b78e040
Revert "Add OpenCV calib3d module to CMake dependencies"
dmichalo Jan 9, 2026
b5774db
Add OpenCV calib3d module to CMake find_package
dmichalo Jan 9, 2026
131cfcd
Use matrix OS for build job runner
dmichalo Jan 9, 2026
5572621
Add Ubuntu version-specific OpenVINO GenAI install
dmichalo Jan 12, 2026
45fd0dd
Merge branch 'main' into dmichalo_AddMakeBuildTesting
dmichalo Jan 12, 2026
3843499
Fixes for yamllint,hadolint action and license headers. (#521)
nszczygl9 Jan 12, 2026
e6fc478
Replace curl with wget for OpenVINO GenAI install
dmichalo Jan 12, 2026
2f0fef1
Unify OS matrix and remove curl from build dependencies
dmichalo Jan 12, 2026
b5ea602
Add OpenCV calib3d module to dependencies
dmichalo Jan 12, 2026
fd99f30
Fix fedora docker build (#517)
mholowni Jan 9, 2026
ab45533
Add workflow for building DL Streamer from source
dmichalo Jan 8, 2026
0f9319d
Refactor OpenVINO and DL Streamer env setup in CI
dmichalo Jan 8, 2026
a9acdc3
Use DLS_REL_PATH env var in build environment setup
dmichalo Jan 8, 2026
b20f3b7
Update DL Streamer plugin verification steps
dmichalo Jan 8, 2026
cdd8339
Comment out Install Python dependencies
dmichalo Jan 8, 2026
3e39f04
Update build workflow to use self-hosted runner
dmichalo Jan 8, 2026
d8f4323
Update CMake scripts and docs for dependency builds
dmichalo Jan 9, 2026
70aef07
Remove duplicate libopencv-dev from package list
dmichalo Jan 9, 2026
6c7227d
Add OpenVINO GenAI installation to CI workflow
dmichalo Jan 9, 2026
7a80165
Revert "Add OpenCV calib3d module to CMake dependencies"
dmichalo Jan 9, 2026
6eeced6
Add OpenCV calib3d module to CMake find_package
dmichalo Jan 9, 2026
c0a7e5a
Use matrix OS for build job runner
dmichalo Jan 9, 2026
d47d509
Add Ubuntu version-specific OpenVINO GenAI install
dmichalo Jan 12, 2026
6adbcf4
Replace curl with wget for OpenVINO GenAI install
dmichalo Jan 12, 2026
0b2e8ae
Unify OS matrix and remove curl from build dependencies
dmichalo Jan 12, 2026
682bedc
Add OpenCV calib3d module to dependencies
dmichalo Jan 12, 2026
4fe0127
Merge branch 'dmichalo_AddMakeBuildTesting' of https://github.com/ope…
dmichalo Jan 12, 2026
8befa5b
Refactor and streamline CI workflows and yamllint action
dmichalo Jan 12, 2026
962c150
Remove trailing whitespace in shellcheck action
dmichalo Jan 12, 2026
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
154 changes: 77 additions & 77 deletions .github/actions/common/code-style/action.yml
Original file line number Diff line number Diff line change
@@ -1,77 +1,77 @@
name: "Code Style Check"
description: "Reusable action to check C/C++ code style with clang-format"
inputs:
target_dir:
description: "Directory to check for C/C++ files"
required: false
default: "."
name:
description: 'Name for the output artifact'
required: false
default: 'code-style-check-report'
fail-on-findings:
description: "Whether to fail the action if issues are found"
required: false
default: "true"
runs:
using: "composite"
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y clang-format curl ca-certificates build-essential
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install -g diff2html-cli
shell: bash
- name: Run code style check
id: code-style-check
env:
target_dir: ${{ inputs.target_dir }}
run: |
chmod +x ${target_dir}/.github/actions/common/code-style/entrypoint.sh
${target_dir}/.github/actions/common/code-style/entrypoint.sh "${target_dir}" || echo "STYLE_ISSUES=true" >> $GITHUB_OUTPUT
shell: bash
- name: Analyze code style results
if: always()
run: |
if [ "${{ steps.code-style-check.outputs.STYLE_ISSUES }}" == "true" ]; then
# Count number of files with style issues
if [ -f "_output/diff.html" ]; then
# Try to count files from diff output
file_count=$(diff -u --recursive "${{ inputs.target_dir }}" "_styled/${{ inputs.target_dir }}" 2>/dev/null | grep -c "^diff -u" || echo "1+")
echo "### Code Style Check Results" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "- ❌ **Status**: Style issues found" >> $GITHUB_STEP_SUMMARY
echo "- 📁 **Files affected**: ${file_count}" >> $GITHUB_STEP_SUMMARY
echo "- 📄 **Detailed report**: Available in artifacts (diff.html)" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "⚠️ **Please review the code-style report artifact and apply clang-format to fix the issues.**" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "💡 **Tip**: Run \`clang-format -i\` on the affected files to automatically fix formatting." >> $GITHUB_STEP_SUMMARY
fi
else
echo "### Code Style Check Results" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "✅ **All code follows the style guidelines!**" >> $GITHUB_STEP_SUMMARY
fi
shell: bash
- name: Upload clang-format report
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: ${{ inputs.name }}
path: _output/diff.html
if-no-files-found: ignore
- name: Fail if code style issues found
if: inputs.fail-on-findings == 'true' && steps.code-style-check.outputs.STYLE_ISSUES == 'true'
shell: bash
run: |
echo "❌ Code style issues found. Failing the job."
exit 1
name: "Code Style Check"
description: "Reusable action to check C/C++ code style with clang-format"
inputs:
target_dir:
description: "Directory to check for C/C++ files"
required: false
default: "."
name:
description: 'Name for the output artifact'
required: false
default: 'code-style-check-report'
fail-on-findings:
description: "Whether to fail the action if issues are found"
required: false
default: "true"

runs:
using: "composite"
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y clang-format curl ca-certificates build-essential
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install -g diff2html-cli
shell: bash

- name: Run code style check
id: code-style-check
env:
target_dir: ${{ inputs.target_dir }}
run: |
chmod +x ${target_dir}/.github/actions/common/code-style/entrypoint.sh
${target_dir}/.github/actions/common/code-style/entrypoint.sh "${target_dir}" || echo "STYLE_ISSUES=true" >> $GITHUB_OUTPUT
shell: bash

- name: Analyze code style results
if: always()
run: |
if [ "${{ steps.code-style-check.outputs.STYLE_ISSUES }}" == "true" ]; then
# Count number of files with style issues
if [ -f "_output/diff.html" ]; then
# Try to count files from diff output
file_count=$(diff -u --recursive "${{ inputs.target_dir }}" "_styled/${{ inputs.target_dir }}" 2>/dev/null | grep -c "^diff -u" || echo "1+")

echo "### Code Style Check Results" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "- ❌ **Status**: Style issues found" >> $GITHUB_STEP_SUMMARY
echo "- 📁 **Files affected**: ${file_count}" >> $GITHUB_STEP_SUMMARY
echo "- 📄 **Detailed report**: Available in artifacts (diff.html)" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "⚠️ **Please review the code-style report artifact and apply clang-format to fix the issues.**" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "💡 **Tip**: Run \`clang-format -i\` on the affected files to automatically fix formatting." >> $GITHUB_STEP_SUMMARY
fi
else
echo "### Code Style Check Results" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "✅ **All code follows the style guidelines!**" >> $GITHUB_STEP_SUMMARY
fi
shell: bash

- name: Upload clang-format report
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: ${{ inputs.name }}
path: _output/diff.html
if-no-files-found: ignore

- name: Fail if code style issues found
if: inputs.fail-on-findings == 'true' && steps.code-style-check.outputs.STYLE_ISSUES == 'true'
shell: bash
run: |
echo "❌ Code style issues found. Failing the job."
exit 1
Loading
Loading