No description
Find a file
L3D cdce868b3f
All checks were successful
Build / Build for Android (push) Successful in 29m25s
Explain mechanism
2023-05-12 15:32:03 +02:00
.github/workflows Full testrun 2023-05-12 01:42:59 +02:00
hello_world Update name to main.py 2023-05-11 01:02:39 +02:00
.gitignore Try to add build 2023-05-10 01:21:10 +02:00
LICENSE initialize Project 2023-05-09 20:21:32 +02:00
README.md Explain mechanism 2023-05-12 15:32:03 +02:00
requirements.txt Hello World 2023-05-09 20:29:46 +02:00

kivy - My first App

...to test and setup a build pipeline

Obviously we use kivy for this 'Hello World'. The app itself does nothing except displaying the words "Hello World!". But the exciting part of this git repo is the build pipeline

Since a fe weeks forgejo/gitea have implemented github actions. And we use them to build the app.

Setup local Development

For local app development, be inspired by this setup:

Venv and Requirements

python3 -m venv  app
source app/bin/activate
pip install -r requirements.txt

Install kivy

git clone https://github.com/kivy/kivy.git
cd kivy
python3.11 -m pip install cython
python3.11 setup.py build_ext --inplace
make install

Build Pipeline

Bulldozer building

There is a Github Action for building kivy apps for android using bulldozer. We mirrored the app to https://backwesen.de/actions/gh-buildozer-action and use it successfully for building our app.

Releasing

Sadly gitea/forgejo does not support artifacts jet. So we have multiple different options for releasing our build binarys. Publishing them to other servers, put them in a new git repo or maybe there is a fancy way to attatch them to a release. For now we skipped this option and waiting for artifacts to become available. In the meantime we use https://transfer.sh/ for uploading our files quick and dirty.