From 674c52cae856f047c57e9e449e8cf40e5c60edf3 Mon Sep 17 00:00:00 2001 From: Nikolay Petrov Date: Tue, 10 Jun 2025 22:19:53 -0700 Subject: [PATCH 1/3] Enable Coverity scan for C++ --- .ci/pipeline/nightly.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.ci/pipeline/nightly.yml b/.ci/pipeline/nightly.yml index 3a3893a0dc..41154be832 100644 --- a/.ci/pipeline/nightly.yml +++ b/.ci/pipeline/nightly.yml @@ -45,7 +45,15 @@ jobs: displayName: 'Install Coverity tool' - script: | cd $(Build.Repository.LocalPath) - $(COVERITY_TOOL_HOME)/bin/cov-build --dir cov-int --no-command --fs-capture-search . + conda config --append channels conda-forge + conda config --set channel_priority strict + conda update -y -q conda + conda create -y -q -n CB -c conda-forge python=$(python.version) dal-devel impi-devel + . /usr/share/miniconda/etc/profile.d/conda.sh + conda activate CB + pip install -r dependencies-dev + export DALROOT=$CONDA_PREFIX + $(COVERITY_TOOL_HOME)/bin/cov-build --dir cov-int -- python setup.py build_ext --inplace zip -r daal4py.zip cov-int displayName: 'Perform Coverity scan' - script: | From 917741f9ff906ee46f3324e5c8d02e52a1634cb6 Mon Sep 17 00:00:00 2001 From: Nikolay Petrov Date: Tue, 10 Jun 2025 22:30:57 -0700 Subject: [PATCH 2/3] Update .ci/pipeline/nightly.yml --- .ci/pipeline/nightly.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/pipeline/nightly.yml b/.ci/pipeline/nightly.yml index 41154be832..20aed64dd4 100644 --- a/.ci/pipeline/nightly.yml +++ b/.ci/pipeline/nightly.yml @@ -53,7 +53,8 @@ jobs: conda activate CB pip install -r dependencies-dev export DALROOT=$CONDA_PREFIX - $(COVERITY_TOOL_HOME)/bin/cov-build --dir cov-int -- python setup.py build_ext --inplace + $(COVERITY_TOOL_HOME)/bin/cov-build --dir cov-int --no-command --fs-capture-search . + $(COVERITY_TOOL_HOME)/bin/cov-build --dir cov-int -- python setup.py build_ext --inplace zip -r daal4py.zip cov-int displayName: 'Perform Coverity scan' - script: | From bfee4f12430f2d57e0ab1015924958e46313b5c8 Mon Sep 17 00:00:00 2001 From: Nikolay Petrov Date: Tue, 10 Jun 2025 22:31:34 -0700 Subject: [PATCH 3/3] Update .ci/pipeline/nightly.yml --- .ci/pipeline/nightly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/pipeline/nightly.yml b/.ci/pipeline/nightly.yml index 20aed64dd4..fe69ac069d 100644 --- a/.ci/pipeline/nightly.yml +++ b/.ci/pipeline/nightly.yml @@ -53,8 +53,8 @@ jobs: conda activate CB pip install -r dependencies-dev export DALROOT=$CONDA_PREFIX - $(COVERITY_TOOL_HOME)/bin/cov-build --dir cov-int --no-command --fs-capture-search . - $(COVERITY_TOOL_HOME)/bin/cov-build --dir cov-int -- python setup.py build_ext --inplace + $(COVERITY_TOOL_HOME)/bin/cov-build --dir cov-int --no-command --fs-capture-search . + $(COVERITY_TOOL_HOME)/bin/cov-build --dir cov-int -- python setup.py build_ext --inplace zip -r daal4py.zip cov-int displayName: 'Perform Coverity scan' - script: |