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