Skip to content

[pdq] Benchmark for C++ PDQ Hasher (#1726) #51

[pdq] Benchmark for C++ PDQ Hasher (#1726)

[pdq] Benchmark for C++ PDQ Hasher (#1726) #51

# 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'