Skip to content

Add Python 3.12 and 3.13 to the testing #498

Add Python 3.12 and 3.13 to the testing

Add Python 3.12 and 3.13 to the testing #498

Workflow file for this run

on: [push, pull_request]
env:
PYTHONFORANDROID_PREREQUISITES_INSTALL_INTERACTIVE: 0
name: Android Integration
jobs:
Integration:
strategy:
matrix:
os:
- 'ubuntu-latest'
- 'macOs-latest'
runs-on: ${{ matrix.os }}
steps:
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- uses: actions/checkout@v4
- name: Setup environment
run: |
pip install .
- run: buildozer --help
- run: buildozer init
- name: SDK, NDK and p4a download
run: |
sed -i.bak "s/# android.accept_sdk_license = False/android.accept_sdk_license = True/" buildozer.spec
sed -i.bak "s/#p4a.branch = master/p4a.branch = develop/" buildozer.spec
buildozer android p4a -- --help
# Install OS specific dependencies
- name: Install Linux dependencies
if: matrix.os == 'ubuntu-latest'
# Required by some p4a recipes, but not
# installed by p4a on Linux.
run: sudo apt -y install automake
- name: Debug Build
run: |
touch main.py
buildozer android debug
- name: Release Build (aab)
run: |
touch main.py
export BUILDOZER_ALLOW_ORG_TEST_DOMAIN=1
buildozer android release