From 17010887b9c688fb2aa2dd65a93f2359e41f1e1e Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Fri, 13 Sep 2024 10:02:46 -0700 Subject: [PATCH] Build Python 3.12.4 --- .appveyor.yml | 10 +++++++--- build.sh | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index f0097d5..2ef13f1 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -4,16 +4,20 @@ skip_tags: true environment: PYTHON_VERSION: 3.12.4 - NDK_VERSION: r27-beta2 + NDK_VERSION: r27 GITHUB_TOKEN: secure: 9SKIwc3VSfYJ5IChvNR74rlTF9BMbAfhCGu1/TmYJBMtC6lkY+UDDkZNK7rC9xnQFUxMrNgoo9kNcNAbKbU8XAcrSwkP2H4mX04FI7P+YbxfiWC8nVHhGNxR4LzO+GO0 stack: - python 3.12 +install: +- read ver_maj ver_min < <(echo $PYTHON_VERSION | sed -E 's/^([0-9]+)\.([0-9]+).*/\1 \2/') +- export PYTHON_VERSION_SHORT="$ver_maj.$ver_min" + build_script: - ./build-all.sh $PYTHON_VERSION -- tar -czf python-android-install-$PYTHON_VERSION.tar.gz install support +- tar -czf python-android-install-$PYTHON_VERSION_SHORT.tar.gz install support - find . -maxdepth 1 -type f -iname python-android-install-*.tar.gz -exec appveyor PushArtifact -DeploymentName python-android-install {} \; test: off @@ -21,5 +25,5 @@ test: off deploy: provider: GitHub auth_token: $(GITHUB_TOKEN) - release: v$(PYTHON_VERSION) + release: v$(PYTHON_VERSION_SHORT) artifact: python-android-install \ No newline at end of file diff --git a/build.sh b/build.sh index 699ac59..3205faa 100755 --- a/build.sh +++ b/build.sh @@ -9,8 +9,8 @@ api_level=24 bzip2_version=1.0.8-1 xz_version=5.4.6-0 libffi_version=3.4.4-2 -openssl_version=3.0.13-1 -sqlite_version=3.45.1-0 +openssl_version=3.0.15-0 +sqlite_version=3.45.2-0 os=android build=custom