projection: carry portable pip admission
The Darwin cross-build now detects pip's system-package policy before selecting its install arguments. Source-Sha: 1793441d456791f4e403e097aae785db19ea80c2 Policy-Sha: 1793441d456791f4e403e097aae785db19ea80c2 Tree-Digest: 0ec3891913f92c147e0ca0f1f6c35c1422c263db9e0cb56ea1befcfcb03ce2a2
This commit is contained in:
parent
1370ae9c76
commit
00c1686b87
1 changed files with 6 additions and 1 deletions
|
|
@ -128,7 +128,12 @@ jobs:
|
||||||
|
|
||||||
- name: Install cargo-zigbuild
|
- name: Install cargo-zigbuild
|
||||||
if: matrix.use_zigbuild
|
if: matrix.use_zigbuild
|
||||||
run: pip3 install --break-system-packages cargo-zigbuild
|
run: |
|
||||||
|
pip_args=()
|
||||||
|
if pip3 install --help | grep -q -- '--break-system-packages'; then
|
||||||
|
pip_args+=(--break-system-packages)
|
||||||
|
fi
|
||||||
|
pip3 install "${pip_args[@]}" cargo-zigbuild
|
||||||
|
|
||||||
- name: Cross-compile Go (server)
|
- name: Cross-compile Go (server)
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue