Skip to content

Commit 427b809

Browse files
committed
1 parent 269155e commit 427b809

1 file changed

Lines changed: 17 additions & 24 deletions

File tree

.github/workflows/coverity.yml

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ permissions: read-all
2929

3030
env:
3131
COVERITY_PROJECT: vyevtyus%2FoneMath
32-
LAPACK_VERSION: 3.12.0
3332

3433
jobs:
3534
coverity_linux:
@@ -39,31 +38,31 @@ jobs:
3938
steps:
4039
- uses: actions/checkout@v4
4140

42-
# - name: Download Coverity Build Tool (linux64)
43-
# run: |
44-
# curl --fail https://scan.coverity.com/download/cxx/linux64 --output ${GITHUB_WORKSPACE}/cov-linux64-tool.tar.gz \
45-
# --data "token=${{secrets.COVERITY_TOKEN}}&project=${{env.COVERITY_PROJECT}}" || { echo "Download failed"; exit 1; }
46-
# mkdir cov-linux64-tool
47-
# tar -xzf cov-linux64-tool.tar.gz --strip 1 -C cov-linux64-tool
41+
- name: Download Coverity Build Tool (linux64)
42+
run: |
43+
curl --fail https://scan.coverity.com/download/cxx/linux64 --output ${GITHUB_WORKSPACE}/cov-linux64-tool.tar.gz \
44+
--data "token=${{secrets.COVERITY_TOKEN}}&project=${{env.COVERITY_PROJECT}}" || { echo "Download failed"; exit 1; }
45+
mkdir cov-linux64-tool
46+
tar -xzf cov-linux64-tool.tar.gz --strip 1 -C cov-linux64-tool
4847
49-
# - name: Download Intel compiler
50-
# run: |
51-
# wget --progress=dot:giga https://registrationcenter-download.intel.com/akdlm/IRC_NAS/cd63be99-88b0-4981-bea1-2034fe17f5cf/intel-dpcpp-cpp-compiler-2025.1.0.573_offline.sh
52-
# sudo bash intel-dpcpp-cpp-compiler-2025.1.0.573_offline.sh -s -a -s --action install --eula accept
53-
# ls -la /opt/intel/oneapi
48+
- name: Download Intel compiler
49+
run: |
50+
wget --progress=dot:giga https://registrationcenter-download.intel.com/akdlm/IRC_NAS/cd63be99-88b0-4981-bea1-2034fe17f5cf/intel-dpcpp-cpp-compiler-2025.1.0.573_offline.sh
51+
sudo bash intel-dpcpp-cpp-compiler-2025.1.0.573_offline.sh -s -a -s --action install --eula accept
52+
ls -la /opt/intel/oneapi
5453
55-
# - name: Install Intel oneMKL
56-
# run: |
57-
# 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
58-
# sudo bash intel-onemkl-2025.2.0.629_offline.sh -s -a -s --action install --eula accept --install-dir /opt/intel/mkl
59-
# ls -la /opt/intel/mkl/
54+
- name: Install Intel oneMKL
55+
run: |
56+
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
57+
sudo bash intel-onemkl-2025.2.0.629_offline.sh -s -a -s --action install --eula accept --install-dir /opt/intel/mkl
58+
ls -la /opt/intel/mkl/
6059
6160
- name: Restore netlib from cache
6261
id: cache-lapack
6362
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
6463
with:
6564
path: lapack/install
66-
key: lapack-${{ env.LAPACK_VERSION }}
65+
key: lapack-3.12.0
6766

6867
- name: Install netlib
6968
if: steps.cache-lapack.outputs.cache-hit != 'true'
@@ -77,12 +76,6 @@ jobs:
7776
cmake ${SHARED_OPT} -DBUILD_INDEX64=on -B lapack/build64
7877
cmake --build lapack/build64 ${PARALLEL} --target install
7978
80-
- name: Cache netlib
81-
uses: actions/cache/save@v4
82-
with:
83-
path: lapack
84-
key: lapack-${{ env.LAPACK_VERSION }}
85-
8679
- name: Prepare and run Coverity build
8780
run: |
8881
source /opt/intel/oneapi/setvars.sh

0 commit comments

Comments
 (0)