Skip to content

Commit 63f958e

Browse files
committed
fix CI by adding sudo
1 parent 349c79c commit 63f958e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
submodules: recursive
3939
- name: Install libraries
4040
run: |
41-
apt-get update
42-
apt-get upgrade -y
43-
apt-get install -y build-essential g++ libomp-dev cmake git ninja-build libfftw3-dev wget curl
41+
sudo apt-get update
42+
sudo apt-get upgrade -y
43+
sudo apt-get install -y build-essential g++ libomp-dev cmake git ninja-build libfftw3-dev wget curl
4444
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
4545
source $HOME/.cargo/env'
4646
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB && apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB && echo "deb https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y intel-oneapi-mkl-devel && rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB

0 commit comments

Comments
 (0)