Merge branch 'master' of itsblue.dev:itsblue-development/LedDisplay
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dorian Zedler 2023-09-10 12:13:29 +02:00
commit e7828f2ad5
Signed by: dorian
GPG key ID: 989DE36109AFA354

41
.drone.yml Normal file
View file

@ -0,0 +1,41 @@
kind: pipeline
name: default
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build firmware
image: python:3.6
commands:
- cd firmware
- "pip install -U platformio"
- "platformio run --environment esp32"
- cp .pio/build/esp32/firmware.bin firmware-esp32.bin
- name: build app
image: itsblue.dev/plugins/qt-android:5.15.5-3
settings:
qmake_arguments: "CONFIG+=release"
androiddeployqt_arguments: "--android-platform android-31 --aab"
src_dir: app
android_keystore_data:
from_secret: android-release-keystore
android_keystore_alias: "bmca"
android_keystore_store_pass:
from_secret: android-release-keystore-password
- name: release
image: plugins/gitea-release
settings:
base_url: https://itsblue.dev
api_key:
from_secret: gitea-token
files:
- firmware/firmware-esp32.bin
- app/outputs/apk/release/android-build-release-signed.apk
- app/outputs/bundle/release/android-build-release.aab
when:
event: tag