Publish only when building master branch
This commit is contained in:
parent
e284a70923
commit
6f28cb93f7
@ -32,11 +32,8 @@ linuxPublishToSnapshot:
|
|||||||
script:
|
script:
|
||||||
- ./linuxBuild.sh
|
- ./linuxBuild.sh
|
||||||
- ./linuxBuildAndPublish.sh
|
- ./linuxBuildAndPublish.sh
|
||||||
rules:
|
only:
|
||||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
- master
|
||||||
- allow_failure: false
|
|
||||||
needs:
|
|
||||||
- job: buildLinux
|
|
||||||
tags:
|
tags:
|
||||||
- linuxX64
|
- linuxX64
|
||||||
|
|
||||||
@ -58,11 +55,8 @@ macPublishToSnapshot:
|
|||||||
- ./macBuild.sh
|
- ./macBuild.sh
|
||||||
- ./macBuildAndPublishSnapshot-bindings.sh
|
- ./macBuildAndPublishSnapshot-bindings.sh
|
||||||
- ./macBuildAndPublishSnapshot-delegated.sh
|
- ./macBuildAndPublishSnapshot-delegated.sh
|
||||||
rules:
|
only:
|
||||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
- master
|
||||||
- allow_failure: false
|
|
||||||
needs:
|
|
||||||
- job: buildMac
|
|
||||||
tags:
|
tags:
|
||||||
- macos
|
- macos
|
||||||
|
|
||||||
@ -85,10 +79,7 @@ windowsPublishToSnapshot:
|
|||||||
- $env:CHERE_INVOKING = 'yes'
|
- $env:CHERE_INVOKING = 'yes'
|
||||||
- C:\msys64\usr\bin\bash -lc "./windowsBuildAndPublish-delegated.sh"
|
- C:\msys64\usr\bin\bash -lc "./windowsBuildAndPublish-delegated.sh"
|
||||||
- C:\msys64\usr\bin\bash -lc "./windowsBuildAndPublish-pure.sh"
|
- C:\msys64\usr\bin\bash -lc "./windowsBuildAndPublish-pure.sh"
|
||||||
rules:
|
only:
|
||||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
- master
|
||||||
- allow_failure: false
|
|
||||||
needs:
|
|
||||||
- job: buildWindows
|
|
||||||
tags:
|
tags:
|
||||||
- windowsX64
|
- windowsX64
|
||||||
|
@ -144,7 +144,14 @@ Currently supported native platforms:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#### Notes for Gitlab runners:
|
||||||
|
- At the moment all runners need to have android sdk
|
||||||
|
#### Mac:
|
||||||
|
|
||||||
|
#### Windows:
|
||||||
|
- Needs android sdk
|
||||||
|
- Git needs long file path enabled
|
||||||
|
- msys2 needs to be installed and `pacman update` executed
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user