Skip to content

Commit 2b9c0f1

Browse files
committed
.
1 parent 94382f0 commit 2b9c0f1

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/reusable_basic.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
container:
2121
# image: ghcr.io/bb-ur/umf-ubuntu-${{ matrix.ubuntu_ver }}:latest
2222
image: ghcr.io/rbanka1/umf-ubuntu-${{ matrix.ubuntu_ver }}:latest # test
23-
options: --user root
23+
options: --user root --privileged
2424
volumes:
2525
- ${{ github.workspace }}:${{ github.workspace }}
2626
strategy:
@@ -141,25 +141,25 @@ jobs:
141141
- name: Install cmake (non-default version)
142142
if: matrix.cmake_ver != 'default'
143143
run: |
144-
echo ${USERPASS} | sudo -Sk apt-get remove --purge -y cmake
144+
apt-get remove --purge -y cmake
145145
wget https://github.com/Kitware/CMake/releases/download/v${{matrix.cmake_ver}}/cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh
146146
chmod +x cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh
147-
echo ${USERPASS} | sudo -Sk ./cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh --skip-license --prefix=/usr/local
147+
./cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh --skip-license --prefix=/usr/local
148148
149149
- name: Install TBB apt package
150150
if: matrix.install_tbb == 'OFF'
151151
run: |
152-
echo ${USERPASS} | sudo -Sk apt-get remove --purge -y libtbb-dev
152+
apt-get remove --purge -y libtbb-dev
153153
154154
- name: Install oneAPI basekit
155155
if: matrix.compiler.cxx == 'icpx'
156156
run: |
157-
echo ${USERPASS} | sudo -Sk apt-get update
158-
echo ${USERPASS} | sudo -Sk apt-get install -y gpg-agent
159-
wget -O- 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
160-
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
161-
echo ${USERPASS} | sudo -Sk apt-get update
162-
echo ${USERPASS} | sudo -Sk apt-get install -y intel-oneapi-ippcp-devel intel-oneapi-ipp-devel intel-oneapi-common-oneapi-vars intel-oneapi-compiler-dpcpp-cpp
157+
apt-get update
158+
apt-get install -y gpg-agent
159+
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor > /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
160+
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" > /etc/apt/sources.list.d/oneAPI.list
161+
apt-get update
162+
apt-get install -y intel-oneapi-ippcp-devel intel-oneapi-ipp-devel intel-oneapi-common-oneapi-vars intel-oneapi-compiler-dpcpp-cpp
163163
164164
- name: Get UMF version
165165
run: |

.github/workflows/reusable_fast.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
container:
1919
# image: ghcr.io/bb-ur/umf-ubuntu-${{ matrix.ubuntu_ver }}:latest
2020
image: ghcr.io/rbanka1/umf-ubuntu-${{ matrix.ubuntu_ver }}:latest # test
21-
options: --user root
21+
options: --user root --privileged
2222
volumes:
2323
- ${{ github.workspace }}:${{ github.workspace }}
2424
strategy:

0 commit comments

Comments
 (0)