Skip to content

Commit

Permalink
zip up pdb
Browse files Browse the repository at this point in the history
  • Loading branch information
yeastplume committed Jan 22, 2024
1 parent a9406bd commit 4a18605
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Archive release
uses: vimtor/action-zip@v1
with:
files: target/release/grin-gui.exe
files: target/release/grin-gui.exe target/release/grin_gui.pdb
dest: target/release/grin-gui-${{ github.ref_name }}-win-x86_64.zip
- name: Archive debug
uses: vimtor/action-zip@v1
Expand Down
11 changes: 10 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,16 @@ reqwest = { version = "0.11", features = ["json", "blocking"] }


[profile.release]
opt-level = 2
opt-level = 3
debug = true
split-debuginfo = 'packed'
debug-assertions = false
overflow-checks = false
lto = false
panic = 'unwind'
incremental = false
codegen-units = 16
rpath = false

[target.'cfg(target_os = "linux")'.dependencies]
native-dialog = "0.5.5"
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Avoid spawning an console window for the program.
// This is ignored on other platforms.
// https://msdn.microsoft.com/en-us/library/4cc7ya5b.aspx for more information.
//#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#![allow(dead_code)]
#![allow(unused_variables)]
#![allow(unused_mut)]
Expand Down

0 comments on commit 4a18605

Please sign in to comment.