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

Add Versions of various tools #6313

Merged
merged 18 commits into from
Jan 9, 2025
1 change: 1 addition & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@
"xbox",
"Xclang",
"xcode",
"xcodebuild",
"XSMB",
"zulu"
],
Expand Down
8 changes: 8 additions & 0 deletions eng/pipelines/templates/jobs/ci.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ jobs:
)
displayName: Set Xcode version

- pwsh: /usr/bin/xcodebuild -version
condition: >-
and(
succeeded(),
eq(variables['Agent.OS'], 'Darwin')
)
displayName: Xcode version

- template: /eng/pipelines/templates/steps/vcpkg.yml

# Validate all the files are formatted correctly according to the
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/templates/steps/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ steps:
workingDirectory: build
displayName: cmake --version

- script: clang --version
workingDirectory: build
displayName: clang --version
gearama marked this conversation as resolved.
Show resolved Hide resolved

- script: |
${{ parameters.Env }} cmake ${{ parameters.VcpkgArgs }} ${{ parameters.GenerateArgs }} ..
workingDirectory: build
Expand Down
8 changes: 8 additions & 0 deletions eng/pipelines/templates/steps/vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ steps:
Write-Host "##vso[task.setvariable variable=VCPKG_BINARY_SOURCES_SECRET;issecret=true;]clear;x-azblob,https://cppvcpkgcache.blob.core.windows.net/public-vcpkg-container,,read"
Write-Host "##vso[task.setvariable variable=X_VCPKG_ASSET_SOURCES_SECRET;issecret=true;]clear;x-azurl,https://cppvcpkgcache.blob.core.windows.net/public-vcpkg-container,,read"
displayName: Set Vcpkg Variables

- script: vcpkg --version
condition: >-
and(
succeeded(),
not(eq(variables['Agent.OS'], 'Darwin'))
gearama marked this conversation as resolved.
Show resolved Hide resolved
)
displayName: vcpkg --version

- ${{if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- task: AzurePowerShell@5
Expand Down
Loading