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

Prevent native obj files from being uploaded to build artifact #7921

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

jander-msft
Copy link
Member

@jander-msft jander-msft commented Feb 5, 2025

Summary

CMake places a lot of binaries under the obj/win-x64.Release output folder during build. Some of the scanning tools flag some of these binaries as not being compliant (e.g. needing to add EnableControlFlowGuard to CompilerIdC.exe). The repository doesn't ship those binaries. To avoid being flagged, delete the obj/win-x64.Release folder before uploading it as a build artifact; it is not necessary for downstream consumers of the build.

Validation build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2635369

Release Notes Entry

@jander-msft jander-msft added servicing-patch Servicing fixes that is targeted for a patch release (0.0.x version) servicing-minor Servicing fixes that is targeted for a minor release (0.x.0 version) servicing-major Servicing fixes that is targeted for a major release (x.0.0 version) labels Feb 5, 2025
@jander-msft jander-msft merged commit 34e7619 into dotnet:main Feb 7, 2025
18 of 20 checks passed
@jander-msft jander-msft deleted the no-native-obj branch February 7, 2025 00:38
@jander-msft
Copy link
Member Author

/backport to release/8.0

@jander-msft
Copy link
Member Author

/backport to release/8.x

Copy link
Contributor

github-actions bot commented Feb 7, 2025

Started backporting to release/8.0: https://github.com/dotnet/dotnet-monitor/actions/runs/13190695845

@jander-msft
Copy link
Member Author

/backport to release/9.x

Copy link
Contributor

github-actions bot commented Feb 7, 2025

Started backporting to release/8.x: https://github.com/dotnet/dotnet-monitor/actions/runs/13190697192

Copy link
Contributor

github-actions bot commented Feb 7, 2025

Started backporting to release/9.x: https://github.com/dotnet/dotnet-monitor/actions/runs/13190698852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
servicing-major Servicing fixes that is targeted for a major release (x.0.0 version) servicing-minor Servicing fixes that is targeted for a minor release (0.x.0 version) servicing-patch Servicing fixes that is targeted for a patch release (0.0.x version)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants