Fix case-sensitive filename issues for builds on EWDK 25H2 [SKIP-HCK-CI] #732
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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|./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'] }} |