Skip to content

Support custom ci Cargo profile. #16

@xStrom

Description

@xStrom

Something like:

[profile.ci]
inherits = "dev"
debug = 0 # Don't compile debug info to reduce compilation artifact size for cache benefits.
[profile.ci.package."*"]
debug-assertions = true # Keep always on for dependencies for cache reuse.

Should probably detect whether it exists and run with dev if it doesn't.

Worth having some sort of ci-test profile for optimized builds for slow runtime tests?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions