Skip to content

Commit

Permalink
Cirrus: Run Cross builds in [CI:DOCS] mode
Browse files Browse the repository at this point in the history
Fixes: #15189

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.

Signed-off-by: Chris Evich <[email protected]>
  • Loading branch information
cevich committed Aug 4, 2022
1 parent 1cf6afb commit 4cea8ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4cea8ad

Please sign in to comment.