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:
Evan Almloff authored and GitHub committed 2024-06-12 13:07:52 -07:00
1 parent 2f387604a8
commit 487570d897
4 files changed
+35 -3

No files matched your search

+4
View File
@@ -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