11# *******************************************************************************
2- # Copyright 2024-2025 Arm Limited and affiliates.
3- # SPDX-License-Identifier: Apache-2.0
2+ # Copyright (C) 2025 Intel Corporation
43#
54# Licensed under the Apache License, Version 2.0 (the "License");
65# you may not use this file except in compliance with the License.
76# You may obtain a copy of the License at
87#
9- # http://www.apache.org/licenses/LICENSE-2.0
8+ # http://www.apache.org/licenses/LICENSE-2.0
109#
11- # Unless required by applicable law or agreed to in writing, software
12- # distributed under the License is distributed on an "AS IS" BASIS,
10+ # Unless required by applicable law or agreed to in writing,
11+ # software distributed under the License is distributed on an "AS IS" BASIS,
1312# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14- # See the License for the specific language governing permissions and
15- # limitations under the License.
13+ # See the License for the specific language governing permissions
14+ # and limitations under the License.
15+ #
16+ #
17+ # SPDX-License-Identifier: Apache-2.0
1618# *******************************************************************************
1719
1820name : Coverity Scan
1921
2022on :
21- # Only run on push to main branch
23+ # Only run on push to main branch
2224 push :
2325 branches : [develop]
24- workflow_call :
25- # * allows manual trigger of workflow when needed
26- workflow_dispatch :
2726
2827permissions : read-all
2928
@@ -54,15 +53,15 @@ jobs:
5453 exit 1
5554 fi
5655
57- - name : Download Intel compiler
56+ - name : Install Intel compiler
5857 run : |
5958 wget --progress=dot:giga https://registrationcenter-download.intel.com/akdlm/IRC_NAS/39c79383-66bf-4f44-a6dd-14366e34e255/intel-dpcpp-cpp-compiler-2025.2.0.527_offline.sh
6059 sudo bash intel-dpcpp-cpp-compiler-2025.2.0.527_offline.sh -s -a -s --action install --eula accept
6160
6261 - name : Install Intel oneMKL
6362 run : |
6463 wget --progress=dot:giga https://registrationcenter-download.intel.com/akdlm/IRC_NAS/47c7d946-fca1-441a-b0df-b094e3f045ea/intel-onemkl-2025.2.0.629_offline.sh
65- sudo bash intel-onemkl-2025.2.0.629_offline.sh -s -a -s --action install --eula accept --install-dir /opt/intel/mkl
64+ sudo bash intel-onemkl-2025.2.0.629_offline.sh -s -a -s --action install --eula accept
6665
6766 - name : Restore netlib from cache
6867 id : cache-lapack
@@ -86,13 +85,10 @@ jobs:
8685 - name : Prepare and run Coverity build
8786 run : |
8887 source /opt/intel/oneapi/setvars.sh
89- source /opt/intel/mkl/mkl/latest/env/vars.sh
9088 export PATH="${PWD}/cov-linux64-tool/bin:${PATH}"
9189 cov-configure --template --compiler icpx --comptype intel_icpx:linux
9290 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GITHUB_WORKSPACE}/lapack/install/lib
93- cmake -DTARGET_DOMAINS="blas rng lapack dft sparse_blas" -DENABLE_MKLCPU_BACKEND=on -DREF_BLAS_ROOT=${GITHUB_WORKSPACE}/lapack/install -DREF_LAPACK_ROOT=${GITHUB_WORKSPACE}/lapack/install -B build
94- REF_BLAS_ROOT=${PWD}/lapack/install
95- REF_LAPACK_ROOT=${GITHUB_WORKSPACE}/lapack/install
91+ cmake -DTARGET_DOMAINS="blas rng lapack dft sparse_blas" -DREF_BLAS_ROOT=${GITHUB_WORKSPACE}/lapack/install -DREF_LAPACK_ROOT=${GITHUB_WORKSPACE}/lapack/install -B build
9692 cov-build --dir cov-int cmake --build build -j 2 --target all
9793
9894 - name : Archive Coverity build results
0 commit comments