Skip to content

Benchmark for C++ PDQ Hasher #46

Benchmark for C++ PDQ Hasher

Benchmark for C++ PDQ Hasher #46

# 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/clang-format-action@v4.6.2
with:
clang-format-version: '14'
check-path: 'pdq/cpp'
exclude-regex: 'CImg\.h'