Skip to content

Commit dd17393

Browse files
authored
Update cross-platform-build-verification.yml
Signed-off-by: 1minds3t <1minds3t@proton.me>
1 parent f72a731 commit dd17393

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
"
106106
107107
# Docker on GitHub-hosted (plenty of space/memory, split for safety)
108+
# Docker on GitHub-hosted - Debian/Ubuntu (PEP 668 fix)
108109
linux-distros-docker-debian:
109110
name: Docker - Debian/Ubuntu
110111
runs-on: ubuntu-latest
@@ -127,9 +128,12 @@ jobs:
127128
docker run --rm -v $(pwd):/workspace ${{ matrix.distro }} /bin/bash -c "
128129
cd /workspace
129130
apt-get update && apt-get install -y python3 python3-pip python3-venv
130-
python3 -m pip install --upgrade pip build
131+
132+
# Use --break-system-packages for CI (safe in disposable container)
133+
python3 -m pip install --break-system-packages --upgrade pip build
131134
python3 -m build
132-
python3 -m pip install dist/*.whl
135+
python3 -m pip install --break-system-packages dist/*.whl
136+
133137
omnipkg --version
134138
"
135139
@@ -181,15 +185,17 @@ jobs:
181185
cd /workspace
182186
if command -v pacman &> /dev/null; then
183187
pacman -Sy --noconfirm python python-pip
188+
python -m pip install --break-system-packages --upgrade pip build
189+
python -m build
190+
python -m pip install --break-system-packages dist/*.whl
184191
elif command -v apk &> /dev/null; then
185-
apk add --no-cache python3 py3-pip
192+
apk add --no-cache python3 py3-pip py3-build
193+
python3 -m build
194+
python3 -m pip install --break-system-packages dist/*.whl
186195
fi
187-
python3 -m pip install --upgrade pip build
188-
python3 -m build
189-
python3 -m pip install dist/*.whl
190196
omnipkg --version
191197
"
192-
198+
193199
generate-badge:
194200
name: Generate Platform Support Badge
195201
needs: [build-matrix, linux-distros-podman, linux-distros-docker-debian, linux-distros-docker-rhel, linux-distros-docker-other]

0 commit comments

Comments
 (0)