Merge pull request #8818 from SomberNight/202401_ci_cron
ci: only run build tasks once per day (or on manual trigger)
This commit is contained in:
18
.cirrus.yml
18
.cirrus.yml
@@ -149,8 +149,16 @@ task:
|
|||||||
ELECTRUM_LINTERS_IGNORE: ""
|
ELECTRUM_LINTERS_IGNORE: ""
|
||||||
allow_failures: true
|
allow_failures: true
|
||||||
|
|
||||||
|
|
||||||
|
# Cron jobs configured in https://cirrus-ci.com/settings/...
|
||||||
|
# - job "nightly" on branch "master" at "0 30 2 * * ?" (every day at 02:30Z)
|
||||||
task:
|
task:
|
||||||
name: "build: Windows"
|
name: "build: Windows"
|
||||||
|
matrix:
|
||||||
|
- trigger_type: manual
|
||||||
|
only_if: $CIRRUS_CRON == ""
|
||||||
|
- trigger_type: automatic
|
||||||
|
only_if: $CIRRUS_CRON == "nightly"
|
||||||
container:
|
container:
|
||||||
dockerfile: contrib/build-wine/Dockerfile
|
dockerfile: contrib/build-wine/Dockerfile
|
||||||
cpu: 1
|
cpu: 1
|
||||||
@@ -182,6 +190,11 @@ task:
|
|||||||
|
|
||||||
task:
|
task:
|
||||||
name: "build: Android (QML $APK_ARCH)"
|
name: "build: Android (QML $APK_ARCH)"
|
||||||
|
matrix:
|
||||||
|
- trigger_type: manual
|
||||||
|
only_if: $CIRRUS_CRON == ""
|
||||||
|
- trigger_type: automatic
|
||||||
|
only_if: $CIRRUS_CRON == "nightly"
|
||||||
timeout_in: 90m
|
timeout_in: 90m
|
||||||
container:
|
container:
|
||||||
dockerfile: contrib/android/Dockerfile
|
dockerfile: contrib/android/Dockerfile
|
||||||
@@ -242,6 +255,11 @@ task:
|
|||||||
|
|
||||||
task:
|
task:
|
||||||
name: "build: AppImage"
|
name: "build: AppImage"
|
||||||
|
matrix:
|
||||||
|
- trigger_type: manual
|
||||||
|
only_if: $CIRRUS_CRON == ""
|
||||||
|
- trigger_type: automatic
|
||||||
|
only_if: $CIRRUS_CRON == "nightly"
|
||||||
container:
|
container:
|
||||||
dockerfile: contrib/build-linux/appimage/Dockerfile
|
dockerfile: contrib/build-linux/appimage/Dockerfile
|
||||||
cpu: 2
|
cpu: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user