Skip to content

Commit 0d25354

Browse files
committed
.
1 parent 57d71a4 commit 0d25354

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.github/workflows/pr_push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
uses: ./.github/workflows/reusable_checks.yml
2222
FastBuild:
2323
name: Fast builds
24-
needs: [CodeChecks]
24+
# needs: [CodeChecks]
2525
uses: ./.github/workflows/reusable_fast.yml
2626
Build:
2727
name: Basic builds
28-
needs: [FastBuild]
28+
# needs: [FastBuild]
2929
uses: ./.github/workflows/reusable_basic.yml
3030
DevDax:
3131
needs: [FastBuild]

.github/workflows/reusable_basic.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ jobs:
1818
name: Ubuntu
1919
runs-on: ubuntu-latest
2020
container:
21-
image: ghcr.io/bb-ur/umf-${{ matrix.os }}:latest
22-
options: --privileged
21+
# image: ghcr.io/bb-ur/umf-${{ matrix.os }}:latest
22+
image: ghcr.io/rbanka1/umf-${{ matrix.os }}:latest
23+
options: --user test_user --cap-add=SYS_NICE --cap-add=SYS_ADMIN --cap-add=CAP_SYS_RESOURCE --cap-add=CAP_SETUID --cap-add=CAP_KILL --cap-add=SYS_PTRACE --cgroupns=host
2324
volumes:
2425
- ${{ github.workspace }}:${{ github.workspace }}
2526
strategy:
@@ -157,10 +158,14 @@ jobs:
157158
158159
- name: Install oneAPI basekit
159160
if: matrix.compiler.cxx == 'icpx'
160-
# Installing via script to avoid installing multi-line bash command by root
161161
run: |
162162
echo "${USERPASS}" | sudo -Sk ./.github/scripts/install_oneAPI.sh
163163
164+
- name: Install STRACE
165+
run: |
166+
echo "${USERPASS}" | sudo -Sk apt-get update
167+
echo "${USERPASS}" | sudo -Sk apt-get install -y strace
168+
164169
- name: Get UMF version
165170
run: |
166171
git config --global --add safe.directory $GITHUB_WORKSPACE

.github/workflows/reusable_fast.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616
name: Linux
1717
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-22.04' }}
1818
container:
19-
image: ghcr.io/bb-ur/umf-${{ matrix.os }}:latest
20-
options: --user test_user --privileged
19+
# image: ghcr.io/bb-ur/umf-${{ matrix.os }}:latest
20+
image: ghcr.io/rbanka1/umf-${{ matrix.os }}:latest
21+
options: --user test_user --cap-add=SYS_NICE --cap-add=SYS_ADMIN --cap-add=CAP_SYS_RESOURCE --cap-add=CAP_SETUID --cap-add=CAP_KILL --cap-add=SYS_PTRACE --cgroupns=host
2122
volumes:
2223
- ${{ github.workspace }}:${{ github.workspace }}
2324
strategy:

0 commit comments

Comments
 (0)