[pdq] Benchmark for C++ PDQ Hasher (#1726) #51
This file contains 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
# Copyright (c) Meta Platforms, Inc. and affiliates. | |
# From: https://github.com/marketplace/actions/clang-format-check#multiple-paths | |
name: pdq clang-format Check | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "pdq/cpp/**" | |
- ".github/workflows/pdq-ci-cpp-format.yml" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "pdq/cpp/**" | |
- ".github/workflows/pdq-ci-cpp-format.yml" | |
jobs: | |
formatting-check: | |
name: Formatting Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run clang-format style check for C/C++ programs. | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '14' | |
check-path: 'pdq/cpp' | |
exclude-regex: 'CImg\.h' |