Skip to content

Commit

Permalink
Update ADO coverage for clang v12 (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn authored Mar 6, 2025
1 parent 9000257 commit 72a2c29
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 240 deletions.
60 changes: 10 additions & 50 deletions build/DirectXTK12-GitHub-CMake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,93 +101,53 @@ jobs:
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out2 -v --config RelWithDebInfo
- task: CMake@1
displayName: 'CMake (MSVC): Config ARM64'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -B out3 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
- task: CMake@1
displayName: 'CMake (MSVC): Build ARM64 Debug'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out3 -v --config Debug
- task: CMake@1
displayName: 'CMake (MSVC): Build ARM64 Release'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out3 -v --config RelWithDebInfo
- task: CMake@1
displayName: 'CMake (UWP): Config x64'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out4 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=10.0'
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out3 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=10.0'
- task: CMake@1
displayName: 'CMake (UWP): Build x64'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out4 -v
cmakeArgs: --build out3 -v
- task: CMake@1
displayName: 'CMake (ClangCl): Config x64'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -T clangcl -B out6 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -T clangcl -B out4 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
- task: CMake@1
displayName: 'CMake (ClangCl): Build x64 Debug'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out6 -v --config Debug
cmakeArgs: --build out4 -v --config Debug
- task: CMake@1
displayName: 'CMake (ClangCl): Build x64 Release'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out6 -v --config RelWithDebInfo
- task: CMake@1
displayName: 'CMake (ClangCl): Config ARM64'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -T clangcl -B out7 -DCMAKE_SYSTEM_VERSION=$(WIN11_SDK)'
- task: CMake@1
displayName: 'CMake (ClangCl): Build ARM64'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out7 -v --config Debug
cmakeArgs: --build out4 -v --config RelWithDebInfo
- task: CMake@1
displayName: 'CMake (MSVC Spectre): Config x64'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out8 -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out5 -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
- task: CMake@1
displayName: 'CMake (MSVC Spectre): Build x64 Debug'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out8 -v --config Debug
cmakeArgs: --build out5 -v --config Debug
- task: CMake@1
displayName: 'CMake (MSVC Spectre): Build x64 Release'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out8 -v --config RelWithDebInfo
- task: CMake@1
displayName: 'CMake (MSVC Spectre): Config ARM64'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -B out9 -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
- task: CMake@1
displayName: 'CMake (MSVC Spectre): Build ARM64 Debug'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out9 -v --config Debug
- task: CMake@1
displayName: 'CMake (MSVC Spectre): Build ARM64 Release'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out9 -v --config RelWithDebInfo
cmakeArgs: --build out5 -v --config RelWithDebInfo
- task: CMake@1
displayName: 'CMake (NO_WCHAR_T): Config'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out10 -DNO_WCHAR_T=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN11_SDK)'
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out6 -DNO_WCHAR_T=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN11_SDK)'
- task: CMake@1
displayName: 'CMake (NO_WCHAR_T): Build'
inputs:
cwd: '$(Build.SourcesDirectory)'
cmakeArgs: --build out10 -v --config Debug
cmakeArgs: --build out6 -v --config Debug
130 changes: 130 additions & 0 deletions build/DirectXTK12-GitHub-Test-Dev17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,136 @@ jobs:
configuration: Release
msbuildArchitecture: x64

- job: UWP_BUILD_X64
displayName: 'Universal Windows Platform (UWP) for x64'
timeoutInMinutes: 120
cancelTimeoutInMinutes: 1
steps:
- checkout: self
clean: true
fetchTags: false
fetchDepth: 1
path: 's'
- checkout: testRepo
displayName: Fetch Tests
clean: true
fetchTags: false
fetchDepth: 1
path: 's/Tests'
- task: NuGetToolInstaller@1
displayName: 'Use NuGet'
- task: NuGetAuthenticate@1
displayName: 'NuGet Auth'
- task: NuGetCommand@2
displayName: NuGet restore tests
inputs:
solution: Tests/D3D12Test/packages.config
feedRestore: $(GUID_FEED)
includeNuGetOrg: false
packagesDirectory: ../packages
- task: VSBuild@1
displayName: Build solution DirectXTK_Tests_Windows10.sln 64dbg
inputs:
solution: Tests/DirectXTK_Tests_Windows10.sln
vsVersion: 17.0
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:AppxBundle=Never
platform: x64
configuration: Debug
- task: VSBuild@1
displayName: Build solution DirectXTK_Tests_Windows10.sln 64rel
inputs:
solution: Tests/DirectXTK_Tests_Windows10.sln
vsVersion: 17.0
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:AppxBundle=Never
platform: x64
configuration: Release

- job: UWP_BUILD_X86
displayName: 'Universal Windows Platform (UWP) for x86'
timeoutInMinutes: 120
steps:
- checkout: self
clean: true
fetchTags: false
fetchDepth: 1
path: 's'
- checkout: testRepo
displayName: Fetch Tests
clean: true
fetchTags: false
fetchDepth: 1
path: 's/Tests'
- task: NuGetToolInstaller@1
displayName: 'Use NuGet'
- task: NuGetAuthenticate@1
displayName: 'NuGet Auth'
- task: NuGetCommand@2
displayName: NuGet restore tests
inputs:
solution: Tests/D3D12Test/packages.config
feedRestore: $(GUID_FEED)
includeNuGetOrg: false
packagesDirectory: ../packages
- task: VSBuild@1
displayName: Build solution DirectXTK_Tests_Windows10.sln 32dbg
inputs:
solution: Tests/DirectXTK_Tests_Windows10.sln
vsVersion: 17.0
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:AppxBundle=Never
platform: x86
configuration: Debug
- task: VSBuild@1
displayName: Build solution DirectXTK_Tests_Windows10.sln 32rel
inputs:
solution: Tests/DirectXTK_Tests_Windows10.sln
vsVersion: 17.0
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:AppxBundle=Never
platform: x86
configuration: Release

- job: UWP_BUILD_ARM64
displayName: 'Universal Windows Platform (UWP) for ARM64'
timeoutInMinutes: 120
steps:
- checkout: self
clean: true
fetchTags: false
fetchDepth: 1
path: 's'
- checkout: testRepo
displayName: Fetch Tests
clean: true
fetchTags: false
fetchDepth: 1
path: 's/Tests'
- task: NuGetToolInstaller@1
displayName: 'Use NuGet'
- task: NuGetAuthenticate@1
displayName: 'NuGet Auth'
- task: NuGetCommand@2
displayName: NuGet restore tests
inputs:
solution: Tests/D3D12Test/packages.config
feedRestore: $(GUID_FEED)
includeNuGetOrg: false
packagesDirectory: ../packages
- task: VSBuild@1
displayName: Build solution DirectXTK_Tests_Windows10.sln arm64dbg
inputs:
solution: Tests/DirectXTK_Tests_Windows10.sln
vsVersion: 17.0
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:AppxBundle=Never
platform: ARM64
configuration: Debug
- task: VSBuild@1
displayName: Build solution DirectXTK_Tests_Windows10.sln arm64rel
inputs:
solution: Tests/DirectXTK_Tests_Windows10.sln
vsVersion: 17.0
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:AppxBundle=Never
platform: ARM64
configuration: Release

- job: CMAKE_BUILD_X64
displayName: 'CMake for X64 BUILD_TESTING=ON'
timeoutInMinutes: 60
Expand Down
Loading

0 comments on commit 72a2c29

Please sign in to comment.