Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onboarding ARM64 builds on selfhosted Azure pipeline agents #180

Merged
merged 24 commits into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 20 additions & 23 deletions .azurepipelines/Ubuntu-GCC5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,31 @@
# SPDX-License-Identifier: BSD-2-Clause-Patent
##

resources:
repositories:
- repository: mu_devops
type: github
endpoint: microsoft
name: microsoft/mu_devops
ref: refs/tags/v3.0.0

variables:
- group: architectures-arm-64-x86-64
- group: tool-chain-ubuntu-gcc

jobs:
- template: Jobs/PrGate.yml@mu_devops
extends:
template: MuDevOpsWrapper.yml
parameters:
arch_list: $(arch_list)
do_ci_build: true
do_ci_setup: true
packages: SetupDataPkg
target_list: DEBUG,RELEASE,NO-TARGET,NOOPT
tool_chain_tag: $(tool_chain_tag)
vm_image: $(vm_image)
container_build: true
linux_container_image: ghcr.io/microsoft/mu_devops/ubuntu-22-build:4a1f8d3

- template: Jobs/Python/RunDevTests.yml@mu_devops
parameters:
code_cov_enabled: true
custom_job_name: ubuntu
root_package_folder: SetupDataPkg/Tools
vm_image: $(vm_image)
os_type: Linux
build_matrix:
TARGET_SETUPDATA:
Pkgs: 'SetupDataPkg'
Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
ArchList: $(arch_list)
TARGET_SETUPDATA_ARM:
Pkgs: 'SetupDataPkg'
Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
ArchList: $(arch_list)
SelfHostAgent: true
extra_jobs:
- template: Jobs/Python/RunDevTests.yml@mu_devops
parameters:
code_cov_enabled: true
custom_job_name: windows
root_package_folder: SetupDataPkg/Tools
vm_image: $(vm_image)
42 changes: 20 additions & 22 deletions .azurepipelines/Windows-VS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,30 @@
# SPDX-License-Identifier: BSD-2-Clause-Patent
##

resources:
repositories:
- repository: mu_devops
type: github
endpoint: microsoft
name: microsoft/mu_devops
ref: refs/tags/v3.0.0

variables:
- group: architectures-x86-64
- group: tool-chain-windows-visual-studio-latest

jobs:
- template: Jobs/PrGate.yml@mu_devops
extends:
template: MuDevOpsWrapper.yml
parameters:
arch_list: $(arch_list)
do_ci_build: true
do_ci_setup: true
packages: SetupDataPkg
target_list: DEBUG,RELEASE,NO-TARGET,NOOPT
tool_chain_tag: $(tool_chain_tag)
vm_image: $(vm_image)

- template: Jobs/Python/RunDevTests.yml@mu_devops
parameters:
code_cov_enabled: true
custom_job_name: windows
root_package_folder: SetupDataPkg/Tools
vm_image: $(vm_image)
os_type: Windows_NT
build_matrix:
TARGET_SETUPDATA:
Pkgs: 'SetupDataPkg'
Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
ArchList: $(arch_list)
TARGET_SETUPDATA_ARM:
Pkgs: 'SetupDataPkg'
Targets: 'DEBUG,RELEASE,NO-TARGET,NOOPT'
ArchList: $(arch_list)
SelfHostAgent: true
extra_jobs:
- template: Jobs/Python/RunDevTests.yml@mu_devops
parameters:
code_cov_enabled: true
custom_job_name: windows
root_package_folder: SetupDataPkg/Tools
vm_image: $(vm_image)