Add CI step to test packages with debug assertions off (#2507)
* test packages in release mode * run release tests in a separate job * fix release generation box tests
This commit is contained in:
1 parent
2f387604a8
commit
487570d897
4 files changed
+35
-3
No files matched your search
@@ -135,6 +135,10 @@ opt-level = 1
|
||||
[profile.cli-dev.package."*"]
|
||||
opt-level = 3
|
||||
|
||||
# Disable debug assertions to check the released path of core and other packages, but build without optimizations to keep build times quick
|
||||
[profile.release-unoptimized]
|
||||
inherits = "dev"
|
||||
debug-assertions = false
|
||||
|
||||
# This is a "virtual package"
|
||||
# It is not meant to be published, but is used so "cargo run --example XYZ" works properly
|
||||
|
||||
Reference in new issue
Block a user