mirror of
https://github.com/Z3Prover/z3
synced 2026-05-16 15:15:35 +00:00
Improve manylinux Python selection diagnostics in workflows
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/6f228b53-88a3-4a5f-89b6-7a6daaf066a6 Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
8161065781
commit
bdfab8528e
2 changed files with 10 additions and 5 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -85,8 +85,9 @@ jobs:
|
|||
|
||||
- name: Select Python
|
||||
run: |
|
||||
# Use the first available manylinux interpreter for deterministic selection.
|
||||
PYTHON=$(printf '%s\n' /opt/python/*/bin/python | sort -V | head -n1)
|
||||
test -x "$PYTHON"
|
||||
test -x "$PYTHON" || { echo "Error: no interpreter found under /opt/python/*/bin/python"; exit 1; }
|
||||
echo "PYTHON=$PYTHON" >> "$GITHUB_ENV"
|
||||
"$PYTHON" --version
|
||||
|
||||
|
|
@ -132,8 +133,9 @@ jobs:
|
|||
|
||||
- name: Select Python
|
||||
run: |
|
||||
# Use the first available manylinux interpreter for deterministic selection.
|
||||
PYTHON=$(printf '%s\n' /opt/python/*/bin/python | sort -V | head -n1)
|
||||
test -x "$PYTHON"
|
||||
test -x "$PYTHON" || { echo "Error: no interpreter found under /opt/python/*/bin/python"; exit 1; }
|
||||
echo "PYTHON=$PYTHON" >> "$GITHUB_ENV"
|
||||
"$PYTHON" --version
|
||||
|
||||
|
|
|
|||
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
|
@ -315,8 +315,9 @@ jobs:
|
|||
|
||||
- name: Select Python
|
||||
run: |
|
||||
# Use the first available manylinux interpreter for deterministic selection.
|
||||
PYTHON=$(printf '%s\n' /opt/python/*/bin/python | sort -V | head -n1)
|
||||
test -x "$PYTHON"
|
||||
test -x "$PYTHON" || { echo "Error: no interpreter found under /opt/python/*/bin/python"; exit 1; }
|
||||
echo "PYTHON=$PYTHON" >> "$GITHUB_ENV"
|
||||
"$PYTHON" --version
|
||||
|
||||
|
|
@ -360,8 +361,9 @@ jobs:
|
|||
|
||||
- name: Select Python
|
||||
run: |
|
||||
# Use the first available manylinux interpreter for deterministic selection.
|
||||
PYTHON=$(printf '%s\n' /opt/python/*/bin/python | sort -V | head -n1)
|
||||
test -x "$PYTHON"
|
||||
test -x "$PYTHON" || { echo "Error: no interpreter found under /opt/python/*/bin/python"; exit 1; }
|
||||
echo "PYTHON=$PYTHON" >> "$GITHUB_ENV"
|
||||
"$PYTHON" --version
|
||||
|
||||
|
|
@ -415,8 +417,9 @@ jobs:
|
|||
|
||||
- name: Select Python
|
||||
run: |
|
||||
# Use the first available manylinux interpreter for deterministic selection.
|
||||
PYTHON=$(printf '%s\n' /opt/python/*/bin/python | sort -V | head -n1)
|
||||
test -x "$PYTHON"
|
||||
test -x "$PYTHON" || { echo "Error: no interpreter found under /opt/python/*/bin/python"; exit 1; }
|
||||
echo "PYTHON=$PYTHON" >> "$GITHUB_ENV"
|
||||
"$PYTHON" --version
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue