CMake: Fixed duplicate compilation of source files #1137
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
--- | |
name: Lint Code Base | |
############################# | |
# Start the job on all push # | |
############################# | |
on: | |
push: | |
branches: [master, dev, 'release/*'] | |
# Remove the line above to run when pushing to master | |
pull_request: | |
branches: ['**'] | |
env: | |
BUILD_TYPE: Debug | |
############### | |
# Set the Job # | |
############### | |
jobs: | |
formatting-check: | |
# Name the Job | |
name: Formatting Check | |
# Set the agent to run on | |
runs-on: ubuntu-latest | |
################## | |
# Load all steps # | |
################## | |
steps: | |
########################## | |
# Checkout the code base # | |
########################## | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
################################ | |
# Run Linter against code base # | |
################################ | |
- name: Lint Code Base | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '16' | |
check-path: '.' | |
exclude-regex: '(cmake|docs|jenkins|licenses|modules|tools|vendor|wiki|Xcode|n1ql.cc)' |