Skip to content

Commit

Permalink
ci: Disable most optimizations (#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master authored Jul 3, 2024
1 parent 1974630 commit 4961ed1
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 7 deletions.
15 changes: 12 additions & 3 deletions .github/fixtures/example-with-tauri-v1/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,27 @@
name = "test-app"
version = "0.1.0"
description = "A Tauri App"
authors = [ "you" ]
authors = ["you"]
license = ""
repository = ""
edition = "2021"

[dependencies]
serde_json = "1"
serde = { version = "1", features = [ "derive" ] }
serde = { version = "1", features = ["derive"] }
tauri = { version = "1", features = ["api-all", "updater"] }

[build-dependencies]
tauri-build = { version = "1", features = [] }

[features]
custom-protocol = [ "tauri/custom-protocol" ]
custom-protocol = ["tauri/custom-protocol"]

[profile.dev]
opt-level = 0
lto = false
debug = false

[profile.release]
opt-level = 0
lto = false
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
"frameworks": [],
"minimumSystemVersion": "",
"exceptionDomain": ""
},
"windows": {
"nsis": {
"compression": "zlib"
}
}
},
"updater": {
Expand Down
15 changes: 12 additions & 3 deletions .github/fixtures/example-with-tauri-v2/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,27 @@
name = "test-app"
version = "0.1.0"
description = "A Tauri App"
authors = [ "you" ]
authors = ["you"]
license = ""
repository = ""
edition = "2021"

[dependencies]
serde_json = "1"
serde = { version = "1", features = [ "derive" ] }
serde = { version = "1", features = ["derive"] }
tauri = { version = "2.0.0-beta", features = [] }

[build-dependencies]
tauri-build = { version = "2.0.0-beta", features = [] }

[features]
prod = [ "tauri/custom-protocol" ]
prod = ["tauri/custom-protocol"]

[profile.dev]
opt-level = 0
lto = false
debug = false

[profile.release]
opt-level = 0
lto = false
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
]
],
"windows": {
"nsis": {
"compression": "none"
}
}
},
"plugins": {
"updater": {
Expand Down

0 comments on commit 4961ed1

Please sign in to comment.