drone fetch
This commit is contained in:
parent
589ae29ac7
commit
8c5252c32c
18
.drone.yml
18
.drone.yml
|
@ -3,8 +3,7 @@ workspace:
|
||||||
path: ui
|
path: ui
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
build-linux:
|
fetch:
|
||||||
mem_limit: 3G
|
|
||||||
image: therecipe/qt:linux_static
|
image: therecipe/qt:linux_static
|
||||||
when:
|
when:
|
||||||
repo: cwtch.im/ui
|
repo: cwtch.im/ui
|
||||||
|
@ -22,6 +21,21 @@ pipeline:
|
||||||
- go mod vendor
|
- go mod vendor
|
||||||
- rm -rf vendor/github.com/therecipe
|
- rm -rf vendor/github.com/therecipe
|
||||||
- export GO111MODULE=off
|
- export GO111MODULE=off
|
||||||
|
build-linux:
|
||||||
|
mem_limit: 3G
|
||||||
|
image: therecipe/qt:linux_static
|
||||||
|
when:
|
||||||
|
repo: cwtch.im/ui
|
||||||
|
branch: master
|
||||||
|
event: [ push, pull_request ]
|
||||||
|
environment:
|
||||||
|
- QT_DIR=/opt/Qt
|
||||||
|
- QT_DOCKER='true'
|
||||||
|
- QT_API=5.13.0
|
||||||
|
commands:
|
||||||
|
- export GOPATH=$GOPATH:/media/sf_GOPATH1/
|
||||||
|
- export PATH=$PATH:/home/user/work/bin:/media/sf_GOPATH1/bin
|
||||||
|
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git openssh-client
|
||||||
- $QT_DIR/$QT_API/gcc_64/bin/lrelease ui.pro
|
- $QT_DIR/$QT_API/gcc_64/bin/lrelease ui.pro
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
- export VERSION=`git describe --tags`
|
- export VERSION=`git describe --tags`
|
||||||
|
|
Reference in New Issue