Skip to content

Cleanup of ADO pipeline YAML files#249

Merged
walbourn merged 5 commits intomainfrom
azure-pipelines
May 23, 2025
Merged

Cleanup of ADO pipeline YAML files#249
walbourn merged 5 commits intomainfrom
azure-pipelines

Conversation

@walbourn
Copy link
Copy Markdown
Member

@walbourn walbourn commented May 20, 2025

This PR adds the use of strategy to the existing ADO pipelines.

  • I made use of strategy matrix to simplify the pipelines for GitHub and GitHub-Dev17

Also updated pipeline trigger path filters: GHA should ignore everything under .azuredevops, and ADO should ignore everything under .github.

@walbourn walbourn self-assigned this May 20, 2025
@walbourn walbourn added github_actions Pull requests that update GitHub Actions code azure_pipelines Pull requests that update Azure DevOps code labels May 20, 2025
Comment thread .azuredevops/pipelines/DirectXMath-GitHub-Dev17.yml
@walbourn walbourn requested review from Andrew-Farrier, Copilot and scm-xbox and removed request for Copilot May 23, 2025 00:58
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR centralizes and simplifies build definitions by introducing matrix strategies in Azure DevOps pipelines and tightening trigger filters across both GitHub Actions and ADO pipelines.

  • Add paths-ignore rules to all GitHub workflow files, ensuring GitHub Actions ignores .azuredevops/** while ADO ignores .github/**
  • Refactor the DirectXMath-GitHub-Dev17 pipeline to use a strategy.matrix for all build configurations and introduce a new BUILD_EXTS job
  • Update trigger/PR exclude patterns in Azure DevOps pipelines to use recursive globs (e.g., .github/** instead of .github/*)

Reviewed Changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/*.yml Added common paths-ignore blocks and updated AzureDevOps ignore
.azuredevops/pipelines/DirectXMath-GitHub-Dev17.yml Introduced strategy.matrix, collapsed repetitive VSBuild steps, added BUILD_EXTS job
.azuredevops/pipelines/DirectXMath-GitHub-MinGW.yml Switched trigger/PR exclude from .github/* to .github/**
.azuredevops/pipelines/DirectXMath-GitHub-CMake.yml Switched trigger/PR exclude from .github/* to .github/**

Comment thread .github/workflows/main.yml
msbuildArchitecture: x64
- task: VSBuild@1
displayName: Build solution math3_2022.sln x86rel nointrinsics
displayName: Build solution math3_2022.sln
Copy link

Copilot AI May 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Include $(BuildPlatform) and $(BuildConfiguration) in the displayName (e.g., Build solution math3_2022.sln $(BuildPlatform) $(BuildConfiguration)) so each matrix job is clearly distinguishable in pipeline logs.

Suggested change
displayName: Build solution math3_2022.sln
displayName: Build solution math3_2022.sln $(BuildPlatform) $(BuildConfiguration)

Copilot uses AI. Check for mistakes.
@walbourn walbourn merged commit c11ab0b into main May 23, 2025
203 checks passed
@walbourn walbourn deleted the azure-pipelines branch May 23, 2025 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azure_pipelines Pull requests that update Azure DevOps code github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants