Skip to content

[CI-NO-BUILD] [vioscsi] Implement cold and hot tracing paths #330

[CI-NO-BUILD] [vioscsi] Implement cold and hot tracing paths

[CI-NO-BUILD] [vioscsi] Implement cold and hot tracing paths #330

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: './VirtIO|./.*/.*trace.h|./.*/wpp_.*_path.*.h|./NetKVM/Common/virtio_net.h|./NetKVM/linux/if_ether.h|./viofs/shared/fuse.h|./viofs/svc/scope_exit.h'
- 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 ${CHECK_PATH} "" ${EXCLUDE_REGEX}
env:
CHECK_PATH: ${{ matrix.path['check'] }}
EXCLUDE_REGEX: ${{ matrix.path['exclude'] }}