Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymakarewicz committed Jul 15, 2024
1 parent 7ee32d5 commit adb4b75
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
rm -rf build
mkdir build
cd build
cmake -DCMAKE_CXX_STANDARD=20 ..
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_CXX_STANDARD=20 ..
- name: Build Main Executable and Test Executable
run: |
Expand All @@ -33,10 +33,9 @@ jobs:
- name: Analyze code with clang-tidy
run: |
cd build
make clean # Ensure a clean build to run clang-tidy on all files
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
clang-tidy -p .
# run-clang-tidy-10 -p
# make clean # Ensure a clean build to run clang-tidy on all files
# cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
find ../src ../tests -name '*.cpp' | xargs clang-tidy -p .

#- name: Check code formatting with clang-format
# run: |
Expand All @@ -51,14 +50,17 @@ jobs:
# - name: Generate code coverage
# run: |
# cd build
# make coverage
# cd build
# lcov --capture --directory . --output-file coverage.info
# lcov --remove coverage.info '/usr/*' --output-file coverage.info
# lcov --list coverage.info
#

# - name: Upload code coverage results
# if: always()
# uses: actions/upload-artifact@v2
# with:
# name: coverage-results
# path: build/coverage-results
# path: build/coverage.info


0 comments on commit adb4b75

Please sign in to comment.