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:
|
build-linux:
|
||||||
mem_limit: 3G
|
mem_limit: 3G
|
||||||
image: therecipe/qt:linux
|
image: therecipe/qt:linux
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
|
event: [ push, pull_request ]
|
||||||
|
status: [ success ]
|
||||||
environment:
|
environment:
|
||||||
- QT_DIR=/opt/Qt
|
- QT_DIR=/opt/Qt
|
||||||
- QT_DOCKER='true'
|
- QT_DOCKER='true'
|
||||||
|
@ -25,6 +29,10 @@ pipeline:
|
||||||
build-android:
|
build-android:
|
||||||
mem_limit: 3G
|
mem_limit: 3G
|
||||||
image: therecipe/qt:android
|
image: therecipe/qt:android
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
|
event: push
|
||||||
|
status: [ success ]
|
||||||
environment:
|
environment:
|
||||||
- QT_DIR=/opt/Qt
|
- QT_DIR=/opt/Qt
|
||||||
- QT_DOCKER='true'
|
- QT_DOCKER='true'
|
||||||
|
@ -46,6 +54,10 @@ pipeline:
|
||||||
build-windows:
|
build-windows:
|
||||||
mem_limit: 3G
|
mem_limit: 3G
|
||||||
image: therecipe/qt:windows_64_shared
|
image: therecipe/qt:windows_64_shared
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
|
event: push
|
||||||
|
status: [ success ]
|
||||||
environment:
|
environment:
|
||||||
- QT_DIR=/opt/Qt
|
- QT_DIR=/opt/Qt
|
||||||
- QT_DOCKER='true'
|
- QT_DOCKER='true'
|
||||||
|
|
Reference in New Issue