Skip to content

Commit 8f418be

Browse files
authored
oneAPI workflow name & sudo fix
1 parent 3ef1da6 commit 8f418be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-oneapi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build
1+
name: build-oneapi
22

33
on:
44
# Build file modifications
@@ -39,10 +39,10 @@ jobs:
3939

4040
- name: Setup Intel oneAPI compiler
4141
run: |
42-
sudo apt-get update
43-
sudo apt-get install -y wget gpg
42+
#sudo apt-get update
43+
#sudo apt-get install -y wget gpg
4444
wget -q -O - https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/oneapi.gpg
45-
sudo echo 'deb [trusted=yes] https://apt.repos.intel.com/oneapi all main' >/etc/apt/sources.list.d/oneapi.list
45+
echo 'deb [trusted=yes] https://apt.repos.intel.com/oneapi all main' | sudo tee /etc/apt/sources.list.d/oneapi.list >/dev/null
4646
sudo apt-get update
4747
sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp cmake git ccache
4848

0 commit comments

Comments
 (0)