This commit is contained in:
parent
655fb55ecf
commit
968dc6706f
1 changed files with 19 additions and 0 deletions
19
.drone.yml
Normal file
19
.drone.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: build and publish Qt Android-App
|
||||||
|
steps:
|
||||||
|
- name: build apk
|
||||||
|
image: itsblue.dev/plugins/qt-android:5.15.5-1
|
||||||
|
settings:
|
||||||
|
qmake_arguments: "CONFIG+=release"
|
||||||
|
androiddeployqt_arguments: "--android-platform android-31"
|
||||||
|
|
||||||
|
- name: publish package
|
||||||
|
image: alpine/curl
|
||||||
|
commands:
|
||||||
|
- env
|
||||||
|
- "curl --fail --user $GITEA_USER:$GITEA_TOKEN --upload-file outputs/apk/debug/android-build-debug.apk https://itsblue.dev/api/packages/dorian/generic/qt-test-app/0-preview-${DRONE_COMMIT_SHA}/qt-test-app.apk"
|
||||||
|
environment:
|
||||||
|
GITEA_USER:
|
||||||
|
from_secret: gitea-user
|
||||||
|
GITEA_TOKEN:
|
||||||
|
from_secret: gitea-token
|
Loading…
Reference in a new issue