Skip to content

Commit

Permalink
Update generate-coverage workflow to work with oneAPI 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk committed Oct 29, 2024
1 parent 9b83bef commit 8a55ad2
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/generate-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,25 @@ jobs:

- name: Add Intel repository
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
sudo apt-get update
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt update
- name: Install Intel OneAPI 2023
if: env.USE_2023 == '1'
run: |
sudo apt-get install intel-oneapi-compiler-dpcpp-cpp-2023.2.1
sudo apt-get install intel-oneapi-tbb-2021.10.0
sudo apt install intel-oneapi-compiler-dpcpp-cpp-2023.2.1
sudo apt install intel-oneapi-tbb-2021.10.0
- name: Install latest Intel OneAPI
if: env.USE_2023 != '1'
run: |
sudo apt-get install intel-oneapi-compiler-dpcpp-cpp
sudo apt-get install intel-oneapi-tbb
sudo apt install intel-oneapi-compiler-dpcpp-cpp
sudo apt install intel-oneapi-tbb
sudo apt install intel-oneapi-umf
sudo apt install hwloc
- name: Install CMake and Ninja
run: |
Expand Down

0 comments on commit 8a55ad2

Please sign in to comment.