mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
have a seperate stage for scheduled builds
This commit is contained in:
parent
1489fccbe3
commit
a610db5cfc
@ -1,5 +1,6 @@
|
|||||||
stages:
|
stages:
|
||||||
- check
|
- check
|
||||||
|
- build-nightly
|
||||||
- build
|
- build
|
||||||
- publish
|
- publish
|
||||||
|
|
||||||
|
@ -112,6 +112,22 @@ macos:
|
|||||||
- .tmacos
|
- .tmacos
|
||||||
- .release
|
- .release
|
||||||
|
|
||||||
|
# build on schedule quickfix till airshipper 0.5
|
||||||
|
air-linux:
|
||||||
|
extends:
|
||||||
|
- .tlinux
|
||||||
|
- .release-nightly-tmp-fix-airshipper
|
||||||
|
|
||||||
|
air-windows:
|
||||||
|
extends:
|
||||||
|
- .twindows
|
||||||
|
- .release-nightly-tmp-fix-airshipper
|
||||||
|
|
||||||
|
air-macos:
|
||||||
|
extends:
|
||||||
|
- .tmacos
|
||||||
|
- .release-nightly-tmp-fix-airshipper
|
||||||
|
|
||||||
# if NOT release or master, allow optional builds
|
# if NOT release or master, allow optional builds
|
||||||
opt-linux:
|
opt-linux:
|
||||||
extends:
|
extends:
|
||||||
|
@ -18,3 +18,13 @@
|
|||||||
- if: $CI_COMMIT_REF_NAME =~ /^master$/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/
|
- if: $CI_COMMIT_REF_NAME =~ /^master$/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/
|
||||||
when: always
|
when: always
|
||||||
- when: never
|
- when: never
|
||||||
|
|
||||||
|
# Template to only run if pushes to master or a tag happened
|
||||||
|
.release-nightly-tmp-fix-airshipper:
|
||||||
|
stage: build-nightly
|
||||||
|
tags:
|
||||||
|
- veloren-docker
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule" && ($CI_COMMIT_REF_NAME =~ /^master$/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/)
|
||||||
|
when: always
|
||||||
|
- when: never
|
Loading…
Reference in New Issue
Block a user