forked from KCL-BMEIS/niftyreg
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 982 Bytes
/
analysis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Code Analysis
on: [pull_request]
jobs:
Code-Analysis:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
# - name: Install CUDA Toolkit
# uses: Jimver/[email protected]
# with:
# method: network
# use-github-cache: false
# use-local-cache: false
- name: Code Analysis
uses: JacobDomagala/StaticAnalysis@master
with:
comment_title: Code Analysis Results
cppcheck_args: -j4 --enable=warning
report_pr_changes_only: 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