84 lines
1.3 KiB
YAML
Raw Normal View History

stages:
- prepare
- build
- deploy
workflow:
rules:
- if: $CI_EXTERNAL_PULL_REQUEST_IID
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
variables:
GIT_SUBMODULE_STRATEGY: recursive
2021-02-09 18:03:57 +01:00
CHROME_BIN: "chromium"
simpleCheck:
stage: prepare
2020-10-05 23:28:02 +02:00
script: echo PREPARE
tags:
- linuxX64
# ---- Linux builds ----
buildLinux:
stage: build
when: manual
allow_failure: false
script:
- ./linuxBuild.sh
tags:
- linuxX64
linuxPublishToSnapshot:
2020-10-20 19:37:31 +02:00
stage: deploy
script:
- ./linuxBuild.sh
- ./linuxBuildAndPublish.sh
only:
- master
tags:
- linuxX64
# ---- Mac builds ----
buildMac:
stage: build
when: manual
allow_failure: false
2020-10-07 19:44:40 +02:00
script:
- ./macBuild.sh
tags:
- macos
macPublishToSnapshot:
2020-10-20 19:37:31 +02:00
stage: deploy
script:
- ./macBuild.sh
- ./macBuildAndPublishSnapshot-bindings.sh
only:
- master
tags:
- macos
# ---- Windows builds ----
buildWindows:
stage: build
when: manual
allow_failure: false
script:
2020-10-21 18:58:20 +02:00
- $env:CHERE_INVOKING = 'yes'
2020-10-21 19:00:23 +02:00
- C:\msys64\usr\bin\bash -lc "./windowsBuild-delegated.sh"
tags:
- windowsX64
windowsPublishToSnapshot:
2020-10-20 19:37:31 +02:00
stage: deploy
script:
2020-10-21 19:08:00 +02:00
- $env:CHERE_INVOKING = 'yes'
- C:\msys64\usr\bin\bash -lc "./windowsBuildAndPublish-delegated.sh"
only:
- master
tags:
- windowsX64