Skip to content

RHEL-69069 [CI-NO-BUILD] Apply clang-format for Balloon Folder #36

RHEL-69069 [CI-NO-BUILD] Apply clang-format for Balloon Folder

RHEL-69069 [CI-NO-BUILD] Apply clang-format for Balloon Folder #36

Workflow file for this run

name: clang-format check
on: [push, pull_request]
jobs:
clang-format:
name: Code style check for ${{ matrix.path['check'] }}
runs-on: ubuntu-24.04
strategy:
matrix:
path:
- check: '.'
exclude: './fwcfg64|./ivshmem|./NetKVM|./pciserial|./pvpanic|./viocrypt|./viofs|./viogpu|./vioinput|./viomem|./viorng|./vioscsi|./vioserial|./viosock|./viostor|./VirtIO'
- check: 'VirtIO'
exclude: ''
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++ programs.
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y clang-format-16
bash Tools/clang-format-helper.sh ${CHECK_PATH} "" ${EXCLUDE_REGEX}
env:
CHECK_PATH: ${{ matrix.path['check'] }}
EXCLUDE_REGEX: ${{ matrix.path['exclude'] }}