This repository has been archived on 2021-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
pyabra/.drone.yml

34 lines
966 B
YAML

---
kind: pipeline
name: hammer out a binary
steps:
- name: build that shit
image: python:buster
commands:
- apt update
- apt install -yq fuse libfuse2 libfuse-dev chrpath libglib2.0-0
- python3 -m pip install -U pip wheel setuptools nuitka poetry
- python3 -m poetry export > requirements.txt
- python3 -m pip install -r requirements.txt
- |
python3 -m nuitka \
--standalone \
--onefile \
--assume-yes-for-downloads \
--plugin-enable=anti-bloat \
--follow-imports \
--show-progress \
--prefer-source-code \
--remove-output \
--output-dir /drone/src \
-o /drone/src/pyabra \
/drone/src/pyabra.py
- name: release that shit
image: plugins/gitea-release
settings:
api_key:
from_secret: decentral1se_apikey
base_url: https://git.autonomic.zone
files: /drone/src/pyabra