mirror of https://github.com/PCSX2/pcsx2.git
ci: Add an explicit flag to retain Windows debugging artifacts
This commit is contained in:
parent
1bbc51c947
commit
bfe0ba7e99
|
@ -65,6 +65,9 @@ jobs:
|
||||||
vs-version: 16.7
|
vs-version: 16.7
|
||||||
|
|
||||||
- name: Build PCSX2
|
- 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 }}
|
run: msbuild "buildbot.xml" /m /v:n /t:ReleaseAll /p:Platform=${{ matrix.platform }}
|
||||||
|
|
||||||
- name: Prepare Artifact Metadata
|
- name: Prepare Artifact Metadata
|
||||||
|
|
|
@ -20,8 +20,11 @@
|
||||||
CreateHardLinksForPublishFilesIfPossible=$(CreateHardLinksIfPossible);
|
CreateHardLinksForPublishFilesIfPossible=$(CreateHardLinksIfPossible);
|
||||||
</CompileFastPlz>
|
</CompileFastPlz>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<RetainDebuggingArtifacts Condition="'$(RetainDebuggingArtifacts)' == ''">false</RetainDebuggingArtifacts>
|
||||||
|
</PropertyGroup>
|
||||||
<!-- Add all the custom targets here. -->
|
<!-- Add all the custom targets here. -->
|
||||||
<Target Name="CleanBloat" AfterTargets="InternalBuild">
|
<Target Name="CleanBloat" AfterTargets="InternalBuild" Condition="'$(RetainDebuggingArtifacts)' == 'false'">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BloatToDelete Include="$(MSBuildProjectDirectory)\bin\**\*.bsc"/>
|
<BloatToDelete Include="$(MSBuildProjectDirectory)\bin\**\*.bsc"/>
|
||||||
<BloatToDelete Include="$(MSBuildProjectDirectory)\bin\**\*.exp"/>
|
<BloatToDelete Include="$(MSBuildProjectDirectory)\bin\**\*.exp"/>
|
||||||
|
|
Loading…
Reference in New Issue