Skip to content

Commit 6c3a58b

Browse files
committed
analysis
Signed-off-by: Anton Dukhovnikov <[email protected]>
1 parent 9f31d27 commit 6c3a58b

File tree

39 files changed

+9
-78955
lines changed

39 files changed

+9
-78955
lines changed

.github/workflows/analysis.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,7 @@ jobs:
4141
# Exclude runs on forks, since only the main org has the SonarCloud
4242
# account credentials.
4343
# if: github.repository == 'AcademySoftwareFoundation/rawtoaces'
44-
# secrets:
45-
# PASSED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46-
# PASSED_SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4744
runs-on: ubuntu-latest
48-
# container:
49-
# image: aswf/ci-osl:2024-clang17.2
5045
strategy:
5146
fail-fast: false
5247
env:
@@ -77,21 +72,13 @@ jobs:
7772
with:
7873
logfile: ${{ github.workspace }}/build/compile_commands.json
7974
config: '/home/runner/work/rawtoaces/rawtoaces/tests/static_analysis/codechecker.json'
80-
# diff: true
8175

8276
- uses: actions/upload-artifact@v4
83-
if: ${{ steps.codechecker.outputs.warnings == 'true' }}
77+
# if: ${{ steps.codechecker.outputs.warnings == 'true' }}
8478
with:
8579
name: "CodeChecker Bug Reports"
8680
path: ${{ steps.codechecker.outputs.result-html-dir }}
87-
# path: ${{ steps.codechecker.outputs.diff-html-dir }}
88-
89-
- uses: actions/upload-artifact@v4
90-
if: true # set to `true` to write out the raw output for diff-ing
91-
with:
92-
name: "CodeChecker Raw output"
93-
path: ${{ steps.codechecker.outputs.analyze-output }}
9481

9582
- name: "Break build if CodeChecker reported any findings"
96-
#if: ${{ steps.codechecker.outputs.warnings == 'true' }}
83+
if: ${{ steps.codechecker.outputs.warnings == 'true' }}
9784
run: exit 1
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
{
2-
"analyze": [
3-
"--skip=/home/runner/work/rawtoaces/rawtoaces/tests/static_analysis/skipfile.txt"
4-
],
52
"parse": [
63
"--skip=/home/runner/work/rawtoaces/rawtoaces/tests/static_analysis/skipfile.txt"
74
],
85
"store": [
96
"--skip=/home/runner/work/rawtoaces/rawtoaces/tests/static_analysis/skipfile.txt"
10-
],
11-
"diff": [
12-
"--basename=/home/runner/work/rawtoaces/rawtoaces/tests/static_analysis/snapshot"
137
]
148
}

tests/static_analysis/skipfile.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
-/usr/include/OpenImageIO/detail/fmt/format.h
22
-/usr/lib/llvm-22/lib/clang/22/include/cetintrin.h
3-
-/usr/include/OpenImageIO/detail/fmt/*
4-
-/usr/lib/llvm-22/lib/clang/22/include/*
5-
-/*/format.h
6-
-/*/cetintrin.h
7-
-*/tests/*
8-
+*/src/rawtoaces/main.cpp
9-
-*/src/*
3+
#-/usr/include/OpenImageIO/detail/fmt/*
4+
#-/usr/lib/llvm-22/lib/clang/22/include/*
5+
#-/*/format.h
6+
#-/*/cetintrin.h
7+
#-*/tests/*
8+
#+*/src/rawtoaces/main.cpp
9+
#-*/src/*

tests/static_analysis/snapshot/compile_cmd.json

Lines changed: 0 additions & 98 deletions
This file was deleted.

tests/static_analysis/snapshot/compiler_info.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/static_analysis/snapshot/image_converter.cpp_clang-tidy_688bea42c12c85a499df3b41c299f2da.plist

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)