Skip to content

Build Determinism Test for WinRT.Interop.dll#2296

Open
kythant wants to merge 24 commits intostaging/3.0from
user/kythant/DeterminismTest
Open

Build Determinism Test for WinRT.Interop.dll#2296
kythant wants to merge 24 commits intostaging/3.0from
user/kythant/DeterminismTest

Conversation

@kythant
Copy link

@kythant kythant commented Feb 25, 2026

Test to see if WinRT.Interop.dll is built deterministically.

Test builds TestComponent twice with cleaning in between and checks the SHA256 hash of each build.

@kythant kythant changed the title Build Determinism Test for Interop.dlls Build Determinism Test for WinRT.Interop.dll Feb 25, 2026
{
// MSBuild Clean doesn't remove the bin folders, so delete them explicitly.
string projectFolder = Path.GetDirectoryName(_projectPath)!;
foreach (string dir in new[] { "bin" })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might as well delete obj too to triple check the build is actually clean?

- task: CmdLine@2
displayName: Run Build Determinism Test
condition: and(succeeded(), or(eq(variables['BuildPlatform'], 'x86'), eq(variables['BuildPlatform'], 'x64')))
continueOnError: True
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets remove continueOnError, we probably will start removing this for others too.

@kythant
Copy link
Author

kythant commented Feb 25, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants