|
||
---|---|---|
.github/workflows | ||
hello_world | ||
.gitignore | ||
LICENSE | ||
README.md | ||
requirements.txt |
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.