Skip to content

Commit

Permalink
Linter Test 6
Browse files Browse the repository at this point in the history
  • Loading branch information
onurulgen committed Feb 9, 2024
1 parent 08073d0 commit 4fb0bee
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 24 deletions.
34 changes: 11 additions & 23 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,26 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: |
sudo apt update && sudo apt install cppcheck -y
# - name: Install CUDA Toolkit
# uses: Jimver/[email protected]
# with:
# method: network
# use-github-cache: false
# use-local-cache: false

- name: Configure NiftyReg
run: |
mkdir build && cd build
cmake -DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_BUILD_TYPE=Debug \
-DBUILD_ALL_DEP=ON \
-DCHECK_GPU=OFF \
-DUSE_CUDA=OFF \
-DUSE_OPENCL=OFF \
-DUSE_SSE=ON \
-DUSE_OPENMP=ON \
-DBUILD_TESTING=OFF \
-DWITH_COVERAGE=OFF \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
..
- name: Code Analysis
uses: JacobDomagala/StaticAnalysis@master
with:
comment_title: Code Analysis Results
cppcheck_args: --enable=warning --project=build/compile_commands.json -j 4
cppcheck_args: -j4 --enable=warning
report_pr_changes_only: false
use_cmake: false
use_cmake: true
cmake_args: -DCMAKE_BUILD_TYPE=Debug \
-DBUILD_ALL_DEP=ON \
-DCHECK_GPU=OFF \
-DUSE_CUDA=OFF \
-DUSE_OPENCL=OFF \
-DUSE_SSE=ON \
-DUSE_OPENMP=ON \
-DBUILD_TESTING=OFF \
-DWITH_COVERAGE=OFF
2 changes: 1 addition & 1 deletion niftyreg_build_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
428
429

0 comments on commit 4fb0bee

Please sign in to comment.