forked from cwtch.im/ui
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
workspace:
|
|
base: /media/sf_GOPATH1/src
|
|
path: cwtch.im/ui
|
|
|
|
pipeline:
|
|
build-linux:
|
|
mem_limit: 3G
|
|
image: therecipe/qt:linux
|
|
environment:
|
|
- QT_DIR=/opt/Qt
|
|
- QT_DOCKER='true'
|
|
- QT_API=5.12.0
|
|
commands:
|
|
- echo $QT_DIR
|
|
- export GOPATH=$GOPATH:/media/sf_GOPATH1/
|
|
- echo $GOPATH
|
|
- export PATH=$PATH:/home/user/work/bin:/media/sf_GOPATH1/bin
|
|
- echo $PATH
|
|
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git
|
|
- go get
|
|
- qtdeploy build linux
|
|
build-android:
|
|
image: therecipe/qt:android
|
|
commands:
|
|
- qtdeploy build android
|
|
notify-email:
|
|
image: drillster/drone-email
|
|
host: build.openprivacy.ca
|
|
port: 25
|
|
skip_verify: true
|
|
from: drone@openprivacy.ca
|
|
when:
|
|
status: [ failure ]
|
|
notify-gogs:
|
|
image: openpriv/drone-gogs
|
|
when:
|
|
event: pull_request
|
|
status: [ success, changed, failure ]
|
|
secrets: [gogs_account_token]
|
|
gogs_url: https://git.openprivacy.ca
|