Skip to content

Commit 0836449

Browse files
authored
Update cross-platform-build-verification.yml
1 parent 4cd9d5c commit 0836449

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

.github/workflows/cross-platform-build-verification.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ jobs:
110110
pip install dist/*.whl
111111
omnipkg --version
112112
omnipkg list
113+
113114
# ═══════════════════════════════════════════════════════════════════
114-
# 2. CRITICAL TESTS (Podman) - FIXED WITH --userns=keep-id
115+
# 2. CRITICAL TESTS (Podman) - FIXED: Standard rootless with label=disable
115116
# ═══════════════════════════════════════════════════════════════════
116117
linux-distros-podman-critical:
117118
name: Podman - ${{ matrix.distro }} (${{ matrix.platform }})
@@ -129,7 +130,7 @@ jobs:
129130
- distro: fedora:39
130131
platform: linux/amd64
131132

132-
# ARM64 QEMU (Debian & Rocky ONLY - Removed Ubuntu & Alpine)
133+
# ARM64 QEMU (Debian & Rocky ONLY)
133134
- distro: debian:12
134135
platform: linux/arm64
135136
- distro: rockylinux:9
@@ -152,11 +153,11 @@ jobs:
152153
153154
if [[ "${{ matrix.distro }}" == *"alpine"* ]]; then SHELL="/bin/sh"; else SHELL="/bin/bash"; fi
154155
155-
# Use podman unshare to run in user namespace, then exec container
156-
# This completely bypasses newuidmap by pre-entering the namespace
157-
podman unshare podman run --rm \
158-
--tmpfs /tmp:rw,noexec,nosuid,size=1g \
159-
-v $TEST_DIR:/workspace \
156+
# Use standard rootless Podman with label=disable to avoid SELinux issues
157+
# No userns flags needed - Podman's default rootless mode now works after storage cleanup
158+
podman run --rm \
159+
--security-opt label=disable \
160+
-v $TEST_DIR:/workspace:rw \
160161
--platform ${{ matrix.platform }} \
161162
${{ matrix.distro }} $SHELL -c "
162163
cd /workspace
@@ -167,7 +168,7 @@ jobs:
167168
elif command -v dnf > /dev/null 2>&1; then
168169
dnf install -y python3 python3-pip gcc python3-devel
169170
elif command -v apk > /dev/null 2>&1; then
170-
apk add --no-cache python3 py3-pip py3-build gcc python3-dev musl-headers
171+
apk add --no-cache python3 py3-pip py3-build gcc python3-dev musl-dev linux-headers
171172
fi
172173
173174
python3 -m pip install --upgrade pip build || python3 -m pip install --break-system-packages pip build
@@ -176,6 +177,7 @@ jobs:
176177
omnipkg --version
177178
omnipkg list
178179
"
180+
179181
# ═══════════════════════════════════════════════════════════════════
180182
# 3. DOCKER JOBS
181183
# ═══════════════════════════════════════════════════════════════════
@@ -202,6 +204,7 @@ jobs:
202204
omnipkg --version
203205
omnipkg list
204206
"
207+
205208
linux-distros-docker-rhel:
206209
name: Docker - RHEL/Fedora
207210
runs-on: ubuntu-latest
@@ -229,6 +232,7 @@ jobs:
229232
omnipkg --version
230233
omnipkg list
231234
"
235+
232236
linux-distros-docker-other:
233237
name: Docker - Arch/Alpine
234238
runs-on: ubuntu-latest
@@ -256,6 +260,7 @@ jobs:
256260
omnipkg --version
257261
omnipkg list
258262
"
263+
259264
# ═══════════════════════════════════════════════════════════════════
260265
# 4. README STATS
261266
# ═══════════════════════════════════════════════════════════════════

0 commit comments

Comments
 (0)