-
Notifications
You must be signed in to change notification settings - Fork 351
Pipeline Performance Optimization: Make Static Analysis Run Parallelly with Build #5364
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
Changes from all commits
023fec6
2baca33
157a19d
ffeb5be
bce4627
a96b6bd
0e52f02
bb71b0e
10b03e5
7dc760c
12c37d2
91d4b00
b8e0e96
d2eb3d6
b68653e
780b760
e6c6265
6fdbe5d
e709270
95a0d97
92442c2
6cb036d
1b6a1f2
ce887fb
2a1f1af
a7611e8
b5eb161
a63c3eb
d840e88
b41e43a
00b80f4
1fd2dfe
e758afe
b24a7c0
bcb2827
a5b2497
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -97,10 +97,19 @@ extends: | |||||
break: false | ||||||
|
||||||
stages: | ||||||
|
||||||
- template: AzurePipelinesTemplates\WindowsAppSDK-Build-Stage.yml@self | ||||||
parameters: | ||||||
SignOutput: ${{ parameters.SignOutput }} | ||||||
runStaticAnalysis : ${{ parameters.runStaticAnalysis }} | ||||||
runApiScan: ${{ parameters.runStaticAnalysis }} | ||||||
runPREFast: false | ||||||
|
||||||
- ${{ if eq(parameters.runStaticAnalysis, 'true') }}: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The condition in this file compares a boolean parameter to the string 'true'. For consistency and to avoid potential type issues, please convert the comparison to eq(parameters.runStaticAnalysis, true) or use a direct boolean check.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
- template: AzurePipelinesTemplates\WindowsAppSDK-Build-Stage.yml@self | ||||||
parameters: | ||||||
SignOutput: ${{ parameters.SignOutput }} | ||||||
runApiScan: false | ||||||
runPREFast: true | ||||||
|
||||||
- template: AzurePipelinesTemplates\WindowsAppSDK-PackTransportPackage-Stage.yml@self | ||||||
parameters: | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -92,7 +92,15 @@ extends: | |||||
- template: AzurePipelinesTemplates\WindowsAppSDK-Build-Stage.yml@self | ||||||
parameters: | ||||||
SignOutput: false | ||||||
runStaticAnalysis : ${{ parameters.runStaticAnalysis }} | ||||||
runApiScan: ${{ parameters.runStaticAnalysis }} | ||||||
runPREFast: false | ||||||
|
||||||
- ${{ if eq(parameters.runStaticAnalysis, 'true') }}: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The condition compares the boolean parameter runStaticAnalysis to the string 'true', which may lead to type mismatch. Consider using a boolean comparison like eq(parameters.runStaticAnalysis, true) or simply 'if parameters.runStaticAnalysis:' to ensure consistent behavior.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
- template: AzurePipelinesTemplates\WindowsAppSDK-Build-Stage.yml@self | ||||||
parameters: | ||||||
SignOutput: false | ||||||
runApiScan: false | ||||||
runPREFast: true | ||||||
|
||||||
- template: AzurePipelinesTemplates\WindowsAppSDK-PackTransportPackage-Stage.yml@self | ||||||
parameters: | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comparing the runStaticAnalysis parameter to the string 'true' may cause type inconsistencies. It's advisable to use a boolean comparison (e.g., eq(parameters.runStaticAnalysis, true)) or a direct check to ensure the condition works as intended.
Copilot uses AI. Check for mistakes.