Commit ce52749
authored
.sync/workflows/leaf/codeql: Remove build dirs (#242)
Intermediate build files are sometimes left in build directories
during CodeQL execution. This is particularly more prevalent in
module directories that contain Rust files. These files have very
long names, for example:
```
D:\a\mu_tiano_platforms\Build\QemuQ35Pkg
\DEBUG_VS2022\X64\MsCorePkg\HelloWorldRustDxe\HelloWorldRustDxe
\DEBUG\x86_64-unknown-uefi\debug\incremental
\rust_boot_services_allocator_dxe-2f5m6unckl0t8
\s-gorl2pbwn9-18oh534-e4zntah436u40i7hceav0825j
```
CodeQL actions have well known and unresolved issues with long paths
when they're scanning directories for files.
The directories where these files may be left are not needed after
build and it takes about 3 seconds to remove them so that is done
in this change.
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>1 parent bdffdb2 commit ce52749
2 files changed
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
402 | 425 | | |
403 | 426 | | |
404 | 427 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
345 | 368 | | |
346 | 369 | | |
347 | 370 | | |
| |||
0 commit comments