Skip to content

Update android_build.yml #3

Update android_build.yml

Update android_build.yml #3

Workflow file for this run

name: Build Android APK
on:
push:
branches: [ testing ]
pull_request:
branches: [ testing ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install buildozer cython
sudo apt-get update
sudo apt-get install -y \
python3-pip \
build-essential \
git \
python3 \
python3-dev \
ffmpeg \
libsdl2-dev \
libsdl2-image-dev \
libsdl2-mixer-dev \
libsdl2-ttf-dev \
libportmidi-dev \
libswscale-dev \
libavformat-dev \
libavcodec-dev \
zlib1g-dev
- name: Build APK
run: |
cd projects/android
buildozer android debug
- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: app-debug
path: projects/android/bin/*.apk