Skip to content

Commit 4424195

Browse files
authored
Merge pull request #1182 from wlemkows/coverity-adapters
Enable adapters for Coverity build
2 parents 3e4d724 + 3f94f6a commit 4424195

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

.github/workflows/coverity.yml

+19-5
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ name: coverity-unified-runtime
99
# It runs static analysis build - Coverity. It requires special token (set in CI's secret).
1010

1111
on:
12-
schedule:
13-
# Run every day at 23:00 UTC
14-
- cron: '0 23 * * *'
1512
workflow_dispatch:
13+
schedule:
14+
# Run every day at 22:00 UTC
15+
- cron: '0 22 * * *'
1616

1717
env:
1818
WORKDIR: ${{ github.workspace }}
@@ -23,10 +23,11 @@ env:
2323
COVERITY_SCAN_BRANCH_PATTERN: "main"
2424
TRAVIS_BRANCH: ${{ github.ref_name }}
2525

26+
2627
jobs:
2728
linux:
2829
name: Coverity
29-
runs-on: ubuntu-latest
30+
runs-on: coverity
3031

3132
steps:
3233
- name: Clone the git repo
@@ -36,7 +37,20 @@ jobs:
3637
run: pip install -r third_party/requirements.txt
3738

3839
- name: Configure CMake
39-
run: cmake -B $WORKDIR/build -DUR_ENABLE_TRACING=ON -DUR_DEVELOPER_MODE=ON -DUR_BUILD_TESTS=ON -DUMF_ENABLE_POOL_TRACKING=ON
40+
run: >
41+
cmake
42+
-B $WORKDIR/build
43+
-DUR_ENABLE_TRACING=ON
44+
-DUR_DEVELOPER_MODE=ON
45+
-DUR_BUILD_TESTS=ON
46+
-DUMF_ENABLE_POOL_TRACKING=ON
47+
-DUR_FORMAT_CPP_STYLE=ON
48+
-DCMAKE_BUILD_TYPE=Debug
49+
-DUR_BUILD_ADAPTER_L0=ON
50+
-DUR_BUILD_ADAPTER_CUDA=ON
51+
-DCUDA_CUDA_LIBRARY=/usr/local/cuda/lib64/stubs/libcuda.so
52+
-DUR_BUILD_ADAPTER_NATIVE_CPU=ON
53+
-DUR_BUILD_ADAPTER_HIP=ON
4054
4155
- name: Run Coverity
4256
run: |

0 commit comments

Comments
 (0)