mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-02 23:59:53 -04:00
[misc] generate PDBs for Visual Studio builds
* Even if this makes the resulting executable slightly larger, this should help with troubleshooting, especially for the Windows Store releases. * Also drop the "since 2019" from the Downloads badge, since once you reach 100M the start date for the counter becomes a bit meaningless...
This commit is contained in:
parent
6ebe13eb31
commit
43c6290143
4 changed files with 19 additions and 8 deletions
7
.github/workflows/vs2022.yml
vendored
7
.github/workflows/vs2022.yml
vendored
|
@ -67,8 +67,9 @@ jobs:
|
|||
shell: cmd
|
||||
run: |
|
||||
set ExternalCompilerOptions=${{ steps.set_alpha.outputs.option }} ${{ steps.set_beta.outputs.option }}
|
||||
msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=${{ env.BUILD_CONFIGURATION }},Platform=${{ matrix.TARGET_PLATFORM }}
|
||||
msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=${{ env.BUILD_CONFIGURATION }},Platform=${{ matrix.TARGET_PLATFORM }},ForceImportBeforeCppTargets=%GITHUB_WORKSPACE%\.vs\Generate.PDB.props
|
||||
move .\${{ matrix.TARGET_PLATFORM }}\Release\rufus.exe .\rufus_${{ matrix.TARGET_PLATFORM }}.exe
|
||||
move .\${{ matrix.TARGET_PLATFORM }}\Release\rufus.pdb .\rufus_${{ matrix.TARGET_PLATFORM }}.pdb
|
||||
|
||||
- name: Display SHA-256
|
||||
run: sha256sum ./rufus_${{ matrix.TARGET_PLATFORM }}.exe
|
||||
|
@ -85,4 +86,6 @@ jobs:
|
|||
if: ${{ github.event_name == 'push' }}
|
||||
with:
|
||||
name: VS2022
|
||||
path: ./*.exe
|
||||
path: |
|
||||
./*.exe
|
||||
./*.pdb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue