mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
ci: Add an explicit flag to retain Windows debugging artifacts
This commit is contained in:
committed by
lightningterror
parent
1bbc51c947
commit
bfe0ba7e99
@@ -65,6 +65,9 @@ jobs:
|
||||
vs-version: 16.7
|
||||
|
||||
- name: Build PCSX2
|
||||
env:
|
||||
# Set to 'true' to retain the .pdb / .exp / .lib, etc files which can be useful for repro'ing issues that only occur in the compiled .exe
|
||||
RetainDebuggingArtifacts: "false"
|
||||
run: msbuild "buildbot.xml" /m /v:n /t:ReleaseAll /p:Platform=${{ matrix.platform }}
|
||||
|
||||
- name: Prepare Artifact Metadata
|
||||
|
||||
+4
-1
@@ -20,8 +20,11 @@
|
||||
CreateHardLinksForPublishFilesIfPossible=$(CreateHardLinksIfPossible);
|
||||
</CompileFastPlz>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<RetainDebuggingArtifacts Condition="'$(RetainDebuggingArtifacts)' == ''">false</RetainDebuggingArtifacts>
|
||||
</PropertyGroup>
|
||||
<!-- Add all the custom targets here. -->
|
||||
<Target Name="CleanBloat" AfterTargets="InternalBuild">
|
||||
<Target Name="CleanBloat" AfterTargets="InternalBuild" Condition="'$(RetainDebuggingArtifacts)' == 'false'">
|
||||
<ItemGroup>
|
||||
<BloatToDelete Include="$(MSBuildProjectDirectory)\bin\**\*.bsc"/>
|
||||
<BloatToDelete Include="$(MSBuildProjectDirectory)\bin\**\*.exp"/>
|
||||
|
||||
Reference in New Issue
Block a user