From d993366edbb8060ea526d57cf2a295fb00c1ff37 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Wed, 30 Aug 2023 14:36:55 -0700 Subject: [PATCH] ADO build pipelines updated to space some working disk space (#399) --- Src/DDS.h | 1 + build/DirectXTK-GitHub-Dev17.yml | 12 ++++++++++++ build/DirectXTK-GitHub-SDK-prerelease.yml | 6 ++++++ build/DirectXTK-GitHub-SDK-release.yml | 6 ++++++ build/DirectXTK-GitHub-Test-Dev17.yml | 6 ++++++ build/DirectXTK-GitHub-Test.yml | 6 ++++++ build/DirectXTK-GitHub.yml | 12 ++++++++++++ 7 files changed, 49 insertions(+) diff --git a/Src/DDS.h b/Src/DDS.h index a88f14a..cce220c 100644 --- a/Src/DDS.h +++ b/Src/DDS.h @@ -284,6 +284,7 @@ namespace DirectX #pragma pack(pop) + static_assert(sizeof(DDS_PIXELFORMAT) == 32, "DDS pixel format size mismatch"); static_assert(sizeof(DDS_HEADER) == 124, "DDS Header size mismatch"); static_assert(sizeof(DDS_HEADER_DXT10) == 20, "DDS DX10 Extended Header size mismatch"); diff --git a/build/DirectXTK-GitHub-Dev17.yml b/build/DirectXTK-GitHub-Dev17.yml index 9cf3401..93938d2 100644 --- a/build/DirectXTK-GitHub-Dev17.yml +++ b/build/DirectXTK-GitHub-Dev17.yml @@ -110,6 +110,12 @@ jobs: platform: x64 configuration: Release msbuildArchitecture: x64 + - task: CmdLine@2 + displayName: 'Reclaim diskspace' + inputs: + script: del *.pch /s + workingDirectory: $(Build.SourcesDirectory) + failOnStderr: false - task: VSBuild@1 displayName: Build solution DirectXTK_Desktop_2022.sln managed dbg inputs: @@ -215,6 +221,12 @@ jobs: platform: x64 configuration: Release msbuildArchitecture: x64 + - task: CmdLine@2 + displayName: 'Reclaim diskspace' + inputs: + script: del *.pch /s + workingDirectory: $(Build.SourcesDirectory) + failOnStderr: false - task: VSBuild@1 displayName: Build solution DirectXTK_Windows10_2022.sln armdbg inputs: diff --git a/build/DirectXTK-GitHub-SDK-prerelease.yml b/build/DirectXTK-GitHub-SDK-prerelease.yml index 3a0d89d..2fb07e6 100644 --- a/build/DirectXTK-GitHub-SDK-prerelease.yml +++ b/build/DirectXTK-GitHub-SDK-prerelease.yml @@ -145,6 +145,12 @@ jobs: msbuildArgs: /p:PreferredToolArchitecture=x64 platform: x64 configuration: Release + - task: CmdLine@2 + displayName: 'Reclaim diskspace' + inputs: + script: del *.pch /s + workingDirectory: $(Build.SourcesDirectory) + failOnStderr: false - task: VSBuild@1 displayName: Build solution DirectXTK_Desktop_2019.sln managed dbg inputs: diff --git a/build/DirectXTK-GitHub-SDK-release.yml b/build/DirectXTK-GitHub-SDK-release.yml index f93fc5a..bbf1631 100644 --- a/build/DirectXTK-GitHub-SDK-release.yml +++ b/build/DirectXTK-GitHub-SDK-release.yml @@ -145,6 +145,12 @@ jobs: msbuildArgs: /p:PreferredToolArchitecture=x64 platform: x64 configuration: Release + - task: CmdLine@2 + displayName: 'Reclaim diskspace' + inputs: + script: del *.pch /s + workingDirectory: $(Build.SourcesDirectory) + failOnStderr: false - task: VSBuild@1 displayName: Build solution DirectXTK_Desktop_2019.sln managed dbg inputs: diff --git a/build/DirectXTK-GitHub-Test-Dev17.yml b/build/DirectXTK-GitHub-Test-Dev17.yml index 2571eb2..589730c 100644 --- a/build/DirectXTK-GitHub-Test-Dev17.yml +++ b/build/DirectXTK-GitHub-Test-Dev17.yml @@ -88,6 +88,12 @@ jobs: platform: x64 configuration: Release msbuildArchitecture: x64 + - task: CmdLine@2 + displayName: 'Reclaim diskspace' + inputs: + script: del *.pch /s + workingDirectory: $(Build.SourcesDirectory) + failOnStderr: false - task: VSBuild@1 displayName: Build solution DirectXTK_Tests_Desktop_2022_Win10.sln 32dbg inputs: diff --git a/build/DirectXTK-GitHub-Test.yml b/build/DirectXTK-GitHub-Test.yml index a499d98..14f8f33 100644 --- a/build/DirectXTK-GitHub-Test.yml +++ b/build/DirectXTK-GitHub-Test.yml @@ -103,6 +103,12 @@ jobs: msbuildArgs: /p:PreferredToolArchitecture=x64 platform: x64 configuration: Release + - task: CmdLine@2 + displayName: 'Reclaim diskspace' + inputs: + script: del *.pch /s + workingDirectory: $(Build.SourcesDirectory) + failOnStderr: false - task: VSBuild@1 displayName: Build solution DirectXTK_Tests_Desktop_2019_Win10.sln 32dbg inputs: diff --git a/build/DirectXTK-GitHub.yml b/build/DirectXTK-GitHub.yml index 42c0f6f..3e86168 100644 --- a/build/DirectXTK-GitHub.yml +++ b/build/DirectXTK-GitHub.yml @@ -122,6 +122,12 @@ jobs: msbuildArgs: /p:PreferredToolArchitecture=x64 platform: x64 configuration: Release + - task: CmdLine@2 + displayName: 'Reclaim diskspace' + inputs: + script: del *.pch /s + workingDirectory: $(Build.SourcesDirectory) + failOnStderr: false - task: VSBuild@1 displayName: Build solution DirectXTK_Desktop_2019.sln managed dbg inputs: @@ -215,6 +221,12 @@ jobs: msbuildArgs: /p:PreferredToolArchitecture=x64 platform: x64 configuration: Release + - task: CmdLine@2 + displayName: 'Reclaim diskspace' + inputs: + script: del *.pch /s + workingDirectory: $(Build.SourcesDirectory) + failOnStderr: false - task: VSBuild@1 displayName: Build solution DirectXTK_Windows10_2019.sln armdbg inputs: