mirror of
https://github.com/ArtemSBulgakov/buildozer-action.git
synced 2024-08-16 10:09:52 +02:00
Initial commit
This commit is contained in:
commit
66ae8d31bc
6 changed files with 111 additions and 0 deletions
52
.gitignore
vendored
Normal file
52
.gitignore
vendored
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
# Directories and files that cannot be commited to git
|
||||||
|
|
||||||
|
# Editors
|
||||||
|
.idea
|
||||||
|
.vscode
|
||||||
|
*.swp
|
||||||
|
|
||||||
|
# Byte-compiled
|
||||||
|
__pycache__
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
|
||||||
|
# Distribution / packaging
|
||||||
|
.Python
|
||||||
|
lib
|
||||||
|
lib64
|
||||||
|
parts
|
||||||
|
sdist
|
||||||
|
var
|
||||||
|
wheels
|
||||||
|
pip-wheel-metadata
|
||||||
|
share/python-wheels
|
||||||
|
develop-eggs
|
||||||
|
eggs
|
||||||
|
.eggs
|
||||||
|
*.egg-info
|
||||||
|
*.egg
|
||||||
|
MANIFEST
|
||||||
|
.installed.cfg
|
||||||
|
downloads
|
||||||
|
build
|
||||||
|
dist
|
||||||
|
bin
|
||||||
|
.buildozer
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
*.log
|
||||||
|
pip-log.txt
|
||||||
|
pip-delete-this-directory.txt
|
||||||
|
|
||||||
|
# Environments
|
||||||
|
venv
|
||||||
|
.venv
|
||||||
|
env
|
||||||
|
.env
|
||||||
|
.python-version
|
||||||
|
|
||||||
|
# Temp / Cache
|
||||||
|
cache
|
||||||
|
.cache
|
||||||
|
temp
|
||||||
|
.temp
|
6
Dockerfile
Normal file
6
Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
FROM kivy/buildozer:latest
|
||||||
|
# See https://github.com/kivy/buildozer/blob/master/Dockerfile
|
||||||
|
|
||||||
|
COPY entrypoint.sh /action/entrypoint.sh
|
||||||
|
|
||||||
|
ENTRYPOINT ["/action/entrypoint.sh"]
|
21
LICENSE
Normal file
21
LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2020 Artem Bulgakov
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
18
README.md
Normal file
18
README.md
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Buildozer action
|
||||||
|
|
||||||
|
Build your Python/[Kivy](https://github.com/kivy/kivy) applications for Android
|
||||||
|
with [Buildozer](https://github.com/kivy/buildozer). This action uses official
|
||||||
|
Buildozer [Docker image](https://github.com/kivy/buildozer/blob/master/Dockerfile),
|
||||||
|
but adds some features and patches to use in GitHub Actions.
|
||||||
|
|
||||||
|
## Example usage
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- name: Build with Buildozer
|
||||||
|
uses: ArtemSBulgakov/buildozer-action@v1
|
||||||
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
ArtemSBulgakov/buildozer-action is released under the terms of the
|
||||||
|
[MIT License](LICENSE).
|
10
action.yml
Normal file
10
action.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
name: Buildozer
|
||||||
|
description: Build Python package with Kivy Buildozer
|
||||||
|
author: Artem Bulgakov
|
||||||
|
branding:
|
||||||
|
icon: package
|
||||||
|
color: yellow
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: docker
|
||||||
|
image: Dockerfile
|
4
entrypoint.sh
Normal file
4
entrypoint.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Run build
|
||||||
|
sh -c "buildozer android debug"
|
Loading…
Reference in a new issue