bb8970a982
After this, I want to figure out how to unify more of the smoke, system, and integration tests, but this seems like a sufficient start for Termux testing.
19 lines
454 B
Bash
Executable File
19 lines
454 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euxo pipefail
|
|
|
|
# Install uv into the Termux prefix
|
|
cp /uv /data/data/com.termux/files/usr/bin/uv
|
|
chmod +x /data/data/com.termux/files/usr/bin/uv
|
|
|
|
# Install Python
|
|
pkg install -y python
|
|
|
|
# Test uv
|
|
uv --version
|
|
|
|
# Termux uses Bionic libc (not glibc or musl), so uv cannot discover
|
|
# managed Python installations. Use only-system to skip that check.
|
|
export UV_PYTHON_PREFERENCE=only-system
|
|
uv python find
|
|
uv run -- python --version
|