Skip to content

Commit 88fb651

Browse files
authored
FIX: MacOS Pipelines CMake Installation (#214)
### Work Item / Issue Reference <!-- IMPORTANT: Please follow the PR template guidelines below. For mssql-python maintainers: Insert your ADO Work Item ID below (e.g. AB#37452) For external contributors: Insert Github Issue number below (e.g. #149) Only one reference is required - either GitHub issue OR ADO Work Item. --> <!-- mssql-python maintainers: ADO Work Item --> > [AB#38373](https://sqlclientdrivers.visualstudio.com/c6d89619-62de-46a0-8b46-70b92a84d85e/_workitems/edit/38373) <!-- External contributors: GitHub Issue --> > GitHub Issue: #<ISSUE_NUMBER> ------------------------------------------------------------------- ### Summary <!-- Insert your summary of changes below. Minimum 10 characters required. --> This pull request makes a small improvement to the CMake installation step in the PR validation pipeline. The change ensures that any existing installation of CMake is uninstalled before installing a fresh copy, reducing the chance of tap conflicts during setup. <!-- ### PR Title Guide > For feature requests FEAT: (short-description) > For non-feature requests like test case updates, config updates , dependency updates etc CHORE: (short-description) > For Fix requests FIX: (short-description) > For doc update requests DOC: (short-description) > For Formatting, indentation, or styling update STYLE: (short-description) > For Refactor, without any feature changes REFACTOR: (short-description) > For release related changes, without any feature changes RELEASE: #<RELEASE_VERSION> (short-description) ### Contribution Guidelines External contributors: - Create a GitHub issue first: https://github.com/microsoft/mssql-python/issues/new - Link the GitHub issue in the "GitHub Issue" section above - Follow the PR title format and provide a meaningful summary mssql-python maintainers: - Create an ADO Work Item following internal processes - Link the ADO Work Item in the "ADO Work Item" section above - Follow the PR title format and provide a meaningful summary -->
1 parent 9eb92ed commit 88fb651

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eng/pipelines/pr-validation-pipeline.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ jobs:
9292

9393
- script: |
9494
brew update
95+
# Uninstall existing CMake to avoid tap conflicts
96+
brew uninstall cmake --ignore-dependencies || echo "CMake not installed or already removed"
97+
# Install CMake from homebrew/core
9598
brew install cmake
9699
displayName: 'Install CMake'
97100

0 commit comments

Comments
 (0)