selfprivacy.org.app/.drone.yml
2022-09-09 18:28:17 +03:00

92 lines
1.9 KiB
YAML

#kind: pipeline
#type: exec
#name: Continuous Integration
#
#steps:
#
#trigger:
# event:
# - push
# - pull_request
#
#node:
# server: builder
#
#---
kind: pipeline
type: exec
name: Release
steps:
- name: Prepare
commands:
- ln -s /var/lib/drone-runner-exec/.local $HOME/.local
- name: Test 1
commands:
- ./ci.sh --test
- name: Test 2
commands:
- ./ci.sh --test2
- name: Test 3
commands:
- ./ci.sh --test3
# - name: Build Intermediate Linux Release Artifact (Binary)
# commands:
# - bash ci.sh --build-linux
# environment:
# STANDALONE_KEYSTORE_PASS:
# from_secret: STANDALONE_KEYSTORE_PASS
# FDROID_KEYSTORE_PASS:
# from_secret: FDROID_KEYSTORE_PASS
# - name: Build Intermediate Android Release Artifact (.APK)
# commands:
# - bash ci.sh --build-apk
# environment:
# STANDALONE_KEYSTORE_PASS:
# from_secret: STANDALONE_KEYSTORE_PASS
# FDROID_KEYSTORE_PASS:
# from_secret: FDROID_KEYSTORE_PASS
# - name: Sign Android Release Artifact (.APK) for Standalone Use
# commands:
# - ./ci.sh --sign-apk-standalone
# environment:
# STANDALONE_KEYSTORE_PASS:
# from_secret: STANDALONE_KEYSTORE_PASS
# FDROID_KEYSTORE_PASS:
# from_secret: FDROID_KEYSTORE_PASS
# - name: Sign Android Release Artifact (.APK) for F-Droid Repository
# commands:
# - ./ci.sh --sign-apk-fdroid
# environment:
# STANDALONE_KEYSTORE_PASS:
# from_secret: STANDALONE_KEYSTORE_PASS
# FDROID_KEYSTORE_PASS:
# from_secret: FDROID_KEYSTORE_PASS
# - name: Package Linux AppImage Artifact
# commands:
# - ./ci.sh --package-linux-appimage
# - name: Package Linux Flatpak Artifact
# commands:
# - ./ci.sh --package-linux-flatpak
# - name: Package Linux Archive Artifact
# commands:
# - ./ci.sh --package-linux-archive
trigger:
event:
- tag
node:
server: builder