drone restict when builds
This commit is contained in:
parent
f4368a0810
commit
2a6fb029fd
12
.drone.yml
12
.drone.yml
|
@ -6,6 +6,10 @@ pipeline:
|
|||
build-linux:
|
||||
mem_limit: 3G
|
||||
image: therecipe/qt:linux
|
||||
when:
|
||||
branch: master
|
||||
event: [ push, pull_request ]
|
||||
status: [ success ]
|
||||
environment:
|
||||
- QT_DIR=/opt/Qt
|
||||
- QT_DOCKER='true'
|
||||
|
@ -25,6 +29,10 @@ pipeline:
|
|||
build-android:
|
||||
mem_limit: 3G
|
||||
image: therecipe/qt:android
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
status: [ success ]
|
||||
environment:
|
||||
- QT_DIR=/opt/Qt
|
||||
- QT_DOCKER='true'
|
||||
|
@ -46,6 +54,10 @@ pipeline:
|
|||
build-windows:
|
||||
mem_limit: 3G
|
||||
image: therecipe/qt:windows_64_shared
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
status: [ success ]
|
||||
environment:
|
||||
- QT_DIR=/opt/Qt
|
||||
- QT_DOCKER='true'
|
||||
|
|
Reference in New Issue