Skip to content

Commit

Permalink
CI: Enable changing chroot in platform config for Debian packaging
Browse files Browse the repository at this point in the history
Allows us to change the target distro through platform configuration
yaml file.

Pick-to: 6.6
Task-number: QTBUG-117120
Change-Id: Ie6e99e4b25198e27491e6191f57d77dbbe3c4eed
Reviewed-by: Toni Saario <[email protected]>
(cherry picked from commit 7981759)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
  • Loading branch information
faltsi authored and Qt Cherry-pick Bot committed Sep 21, 2023
1 parent ff6eca0 commit f07efb4
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions coin/instructions/debian/prepare_debian_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,26 @@ instructions:
variableName: COIN_SBUILD_CHROOT
variableValue: "stable-arm64-sbuild"
enable_if:
condition: property
property: target.arch
equals_value: AARCH64
condition: and
conditions:
- condition: runtime
env_var: COIN_SBUILD_CHROOT
equals_value: null
- condition: property
property: target.arch
equals_value: AARCH64
- type: EnvironmentVariable
variableName: COIN_SBUILD_CHROOT
variableValue: "stable-amd64-sbuild"
disable_if:
condition: property
property: target.arch
equals_value: AARCH64
enable_if:
condition: and
conditions:
- condition: runtime
env_var: COIN_SBUILD_CHROOT
equals_value: null
- condition: property
property: target.arch
equals_value: X86_64
- type: EnvironmentVariable
variableName: COIN_SBUILD_DISTRO
variableValue: "arm64-focal"
Expand Down

0 comments on commit f07efb4

Please sign in to comment.