Cirrus: Run Cross builds in [CI:DOCS] mode
Fixes:
A while ago I updated the only_if/skip options and forgot that several
"cross build" tasks also build documentation in addition to binaries.  Re-enable
them to execute all the time, except when Cirrus-cron is making our
multi-arch images.
@@ -415,9 +415,7 @@ alt_build_task:
alias: alt_build
# Don't create task for [CI:DOCS] or multiarch builds
# Docs: ./contrib/cirrus/CIModes.md
- only_if: &not_docs_multiarch >-
- $CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
- $CIRRUS_CRON != 'multiarch'
+ only_if: $CIRRUS_CRON != 'multiarch'
depends_on:
- build
env:
@@ -450,7 +448,7 @@ osx_alt_build_task:
name: "OSX Cross"
alias: osx_alt_build
# Docs: ./contrib/cirrus/CIModes.md
- only_if: *not_docs_multiarch
+ only_if: $CIRRUS_CRON != 'multiarch'
depends_on:
- build
env:
@@ -1036,7 +1034,9 @@ artifacts_task:
name: "Artifacts"
alias: artifacts
# Docs: ./contrib/cirrus/CIModes.md
- only_if: *not_docs_multiarch
+ only_if: >-
+ $CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
+ $CIRRUS_CRON != 'multiarch'
depends_on:
- success
# This task is a secondary/convenience for downstream consumers, don't
