Skip to content

Commit

Permalink
azurepipiline: Add Archlist for target
Browse files Browse the repository at this point in the history
Signed-off-by: Ajan Zhong <[email protected]>
  • Loading branch information
AjanZhong committed Dec 23, 2024
1 parent 15d6e39 commit 7bb8684
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .azurepipelines/templates/pr-gate-build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
TARGET_UEFIPAYLOAD:
Build.Pkgs: 'UefiPayloadPkg'
Build.Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
Build.Archlist: "IA32,X64"
TARGET_PLATFORMS:
# For Platforms only check code. Leave it to Platform CI
# to build them.
Expand All @@ -85,7 +86,13 @@ jobs:
tool_chain_tag: ${{ parameters.tool_chain_tag }}
build_pkgs: $(Build.Pkgs)
build_targets: $(Build.Targets)
build_archs: ${{ parameters.arch_list }}

# Use the condition to set `build_archs` based on `Build.Archlist`
${{ if not(eq($(Build.Archlist), "")) }}:
build_archs: ${{ $(Build.Archlist) }}
${{ else }}
build_archs: ${{ "IA32,X64,ARM,AARCH64,RISCV64,LOONGARCH64" }}

usePythonVersion: ${{ parameters.usePythonVersion }}
extra_install_step: ${{ parameters.extra_install_step }}

Expand Down

0 comments on commit 7bb8684

Please sign in to comment.