mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-13 23:50:29 -04:00
ci: build_on_debian: use variable expansion in needs:parallel:matrix
Since gitlab 18.6, a job can refer to a subset of parallel jobs[0], so make use of it so that build jobs only depend on the container job for the specific architecture. [0]: https://docs.gitlab.com/ci/yaml/matrix_expressions/#matrix-expressions-in-needsparallelmatrix
This commit is contained in:
parent
db5cb6515a
commit
05a1a08a04
1 changed files with 3 additions and 6 deletions
|
|
@ -341,12 +341,9 @@ build_on_debian:
|
|||
needs:
|
||||
- job: container_debian
|
||||
artifacts: false
|
||||
# ideally
|
||||
# parallel:
|
||||
# matrix:
|
||||
# - ARCH: "$ARCH"
|
||||
# however https://gitlab.com/gitlab-org/gitlab/-/issues/423553
|
||||
# ("Expand variables in `needs:parallel:matrix`")
|
||||
parallel:
|
||||
matrix:
|
||||
- ARCH: [ '$[[ matrix.ARCH ]]' ]
|
||||
variables:
|
||||
FDO_DISTRIBUTION_TAG: "$BASE_TAG-$ARCH"
|
||||
# see /.gitlab/ci/setup-debian-cross-container.sh for installed packages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue