Cleanup of ADO pipeline YAML files (#615)
Some checks failed
CMake (WSL) / build (x64-Debug-Linux, 14) (push) Failing after 6s
CMake (WSL) / build (x64-Release-Linux, 13) (push) Failing after 6s
CMake (WSL) / build (x64-Debug-Linux, 12) (push) Failing after 8s
CMake (WSL) / build (x64-Debug-Linux, 13) (push) Failing after 6s
CMake (WSL) / build (x64-Release-Linux, 12) (push) Failing after 6s
CMake (WSL) / build (x64-Release-Linux, 14) (push) Failing after 5s
CMake (Windows) / build (amd64_x86, x86-Debug, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Debug-Clang, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Release, windows-2019) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Release, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Release-Clang, windows-2022) (push) Has been cancelled
MSBuild / build (Debug, ARM64, 2019) (push) Has been cancelled
MSBuild / build (Debug, ARM64, 2022) (push) Has been cancelled
MSBuild / build (Debug, x64, 2019) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug, windows-2019) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug-Clang, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug-Win8, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release, windows-2019) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release-Clang, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release-Win8, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Debug, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Debug-Clang, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Release, windows-2022) (push) Has been cancelled
MSBuild / build (Debug, x64, 2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Release-Clang, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64ec-Debug, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64ec-Release, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Debug, windows-2019) (push) Has been cancelled
MSBuild / build (Debug, x86, 2019) (push) Has been cancelled
MSBuild / build (Debug, x86, 2022) (push) Has been cancelled
CTest (BVTs) / build (amd64, x64-Release, windows-2019) (push) Has been cancelled
CTest (BVTs) / build (amd64, x64-Release, windows-2022) (push) Has been cancelled
CodeQL / Analyze (C/C++) (push) Has been cancelled
MSBuild / build (Release, ARM64, 2019) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Release-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Release-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Debug-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Debug-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Release-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Release-UWP-Clang) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-Clang-VCPKG, windows-2022, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-MinGW, windows-2022, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-MinGW, windows-2022, ON) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, windows-2019, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, windows-2022, OFF) (push) Has been cancelled
MSBuild / build (Release, ARM64, 2022) (push) Has been cancelled
MSBuild / build (Release, x64, 2019) (push) Has been cancelled
MSBuild / build (Release, x64, 2022) (push) Has been cancelled
MSBuild / build (Release, x86, 2019) (push) Has been cancelled
MSBuild / build (Release, x86, 2022) (push) Has been cancelled
Microsoft C++ Code Analysis / Analyze (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Debug-UWP-Clang) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, windows-2019) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Release-UWP) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64ec-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64ec-Release, windows-2022) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Release-UWP-Clang) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, windows-2019) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Debug-UWP) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release-Clang, windows-2022) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Debug-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Debug-UWP-Clang) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Release-MinGW, windows-2022, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Release-MinGW, windows-2022, ON) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_arm64, arm64-Debug-VCPKG, windows-2022, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_arm64, arm64ec-Debug-VCPKG, windows-2022, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_x86, x86-Debug-VCPKG, windows-2022, OFF) (push) Has been cancelled

This commit is contained in:
Chuck Walbourn
2025-05-23 13:00:15 -07:00
committed by GitHub
parent 652cc82b35
commit 169f7cf350
29 changed files with 896 additions and 940 deletions

14
build/copysourcetree.flt Normal file
View File

@@ -0,0 +1,14 @@
.azuredevops\
.git\
.github\
.nuget\
.vs\
build\
wiki\
DDSTextureLoader\
ScreenGrab\
WICTextureLoader\
texassemble\
texconv\
texdiag\
DDSView\

107
build/copysourcetree.ps1 Normal file
View File

@@ -0,0 +1,107 @@
<#
.NOTES
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
.SYNOPSIS
Copies the source tree excluding various .git and control files.
.DESCRIPTION
This script is used to extract a minimal source tree for testing.
.PARAMETER FilePath
Indicates the root of the tree to copy to.
.PARAMETER Overwrite
Indicates overwrite of existing content if present.
.PARAMETER Clean
Delete content in the target directory before copying.
.EXAMPLE
copysourcetree.ps1 -Destination D:\temp\abc
.EXAMPLE
Remove-Item D:\temp\abc -Recurse -force -ErrorAction SilentlyContinue | Out-Null
New-Item -Path D:\Temp -Name "abc" -ItemType Directory -ErrorAction SilentlyContinue | Out-Null
.\build\copysourcetree.ps1 -Destination D:\temp\abc
robocopy /mir D:\temp\abc\DirectXTex \\durfs\durango\TestContent\samples\nightly_dist_directxtex\DirectXTex
robocopy /mir D:\Microsoft\directxtexmedia \\durfs\durango\TestContent\samples\nightly_dist_directxtex\directxtexmedia /XD D:\Microsoft\directxtexmedia\.git
Update internal test share.
#>
param(
[Parameter(Mandatory)]
[string]$Destination,
[switch]$Quiet,
[switch]$Overwrite,
[switch]$Clean
)
$xcopyFlags = "/Y/S"
if($Quiet) {
$xcopyFlags += "/Q"
}
else {
$xcopyFlags += "/F"
}
function Copy-Source {
param(
[Parameter(Mandatory)]
[string]$Path,
[Parameter(Mandatory)]
[string]$Destination
)
$filters = @("*.cpp",
"*.h", "*.inl",
"*.cmd",
"*.hlsl", "*.fx",
"*.sln", "*.vcxproj", "*.vcxproj.filters",
"*.config", "*.mgc", "*.appxmanifest", "*.manifest",
"*.dds", "*.png", "*.jpg", "*.tga")
$excludefile = Split-Path -Path $PSScriptRoot -Parent
$excludefile = Join-Path $excludefile -Child "build"
$excludefile = Join-Path $excludefile -Child "copysourcetree.flt"
$filters | ForEach-Object {
$files = Join-Path -Path $Path -ChildPath $_
xcopy $xcopyFlags /EXCLUDE:$excludefile $files $Destination
if ($LastExitCode -ne 0) {
Write-Error "Failed copying source files" -ErrorAction Stop
}
}
}
if (-Not (Test-Path $Destination)) {
Write-Error "ERROR: -Destination folder does not exist" -ErrorAction Stop
}
$destdir = Join-Path $Destination -ChildPath "DirectXTex"
$targetreadme = Join-Path -Path $destdir -ChildPath "README.md"
if ((Test-Path $targetreadme) -And (-Not $Overwrite)) {
Write-Error "ERROR: Destination folder contains files. Use -Overwrite to proceed anyhow." -ErrorAction Stop
}
if($Clean) {
Write-Host "Clean..."
Remove-Item $destdir -Recurse -force -ErrorAction SilentlyContinue | Out-Null
}
New-Item -Path $Destination -Name "DirectXTex" -ItemType Directory -ErrorAction SilentlyContinue | Out-Null
$sourcedir = Split-Path -Path $PSScriptRoot -Parent
$readme = Join-Path -Path $sourcedir -ChildPath "README.md"
$license = Join-Path -Path $sourcedir -ChildPath "LICENSE"
Copy-Item $readme -Destination $destdir
Copy-Item $license -Destination $destdir
Copy-Source -Path $sourcedir -Destination $destdir