Skip to content

Commit

Permalink
Enable adapters for coverity build
Browse files Browse the repository at this point in the history
  • Loading branch information
wlemkows committed Dec 12, 2023
1 parent 20b9a83 commit a093724
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
name: coverity-unified-runtime
# It runs static analysis build - Coverity. It requires special token (set in CI's secret).

on:
schedule:
# Run every day at 23:00 UTC
- cron: '0 23 * * *'
workflow_dispatch:
on: [push, pull_request]
#on:
# schedule:
# # Run every day at 23:00 UTC
# - cron: '0 23 * * *'

env:
WORKDIR: ${{ github.workspace }}
Expand All @@ -26,7 +26,7 @@ env:
jobs:
linux:
name: Coverity
runs-on: ubuntu-latest
runs-on: coverity

steps:
- name: Clone the git repo
Expand All @@ -36,7 +36,21 @@ jobs:
run: pip install -r third_party/requirements.txt

- name: Configure CMake
run: cmake -B $WORKDIR/build -DUR_ENABLE_TRACING=ON -DUR_DEVELOPER_MODE=ON -DUR_BUILD_TESTS=ON -DUMF_ENABLE_POOL_TRACKING=ON
run: >
cmake
-B $WORKDIR/build
-DUR_ENABLE_TRACING=ON
-DUR_DEVELOPER_MODE=ON
-DUR_BUILD_TESTS=ON
-DUMF_ENABLE_POOL_TRACKING=ON
-DUR_FORMAT_CPP_STYLE=ON
-DCMAKE_BUILD_TYPE=Debug
-DUR_BUILD_ADAPTER_L0=ON
-DUR_BUILD_ADAPTER_OPENCL=ON
-DUR_BUILD_ADAPTER_CUDA=ON
-DCUDA_CUDA_LIBRARY=/usr/local/cuda/lib64/stubs/libcuda.so
-DUR_BUILD_ADAPTER_NATIVE_CPU=ON
-DUR_BUILD_ADAPTER_HIP=ON
- name: Run Coverity
run: |
Expand Down

0 comments on commit a093724

Please sign in to comment.