mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
debuginfobuild
This commit is contained in:
parent
af3ecbc7c4
commit
25d094225e
@ -42,7 +42,7 @@ workflow:
|
||||
rules:
|
||||
- if: $CI_MERGE_REQUEST_IID
|
||||
- if: $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $GITLAB_USER_ID != "8866215"
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
- if: $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/ && $GITLAB_USER_ID != "8866215"
|
||||
|
||||
include:
|
||||
|
@ -2,8 +2,6 @@
|
||||
.optional-release:
|
||||
stage: check
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE != "merge_request_event" || $CI_PIPELINE_SOURCE == "schedule" || ( $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $TAG_REGEX )
|
||||
when: never
|
||||
- when: manual
|
||||
allow_failure: true
|
||||
|
||||
|
26
Cargo.toml
26
Cargo.toml
@ -72,31 +72,13 @@ debug = 1
|
||||
# we need stacktraces, light debug information, as much checks as possible
|
||||
# I would like to put it in a seperate `official_release` target, but that doesnt share caches with `cargo test` and `cargo bench`
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
opt-level = 2
|
||||
overflow-checks = false
|
||||
debug-assertions = false
|
||||
lto = true
|
||||
debug = false
|
||||
panic = "abort" # don't need unwinding so we can skip including the landing pads for that
|
||||
# lto = true
|
||||
debug = true
|
||||
#panic = "abort" # don't need unwinding so we can skip including the landing pads for that
|
||||
# line tables so we can have useful backtraces for in-house crates
|
||||
[profile.release.package."veloren-network"]
|
||||
debug = 1
|
||||
[profile.release.package."veloren-network-protocol"]
|
||||
debug = 1
|
||||
[profile.release.package."veloren-common"]
|
||||
debug = 1
|
||||
[profile.release.package."veloren-common-systems"]
|
||||
debug = 1
|
||||
[profile.release.package."veloren-client"]
|
||||
debug = 1
|
||||
[profile.release.package."veloren-server"]
|
||||
debug = 1
|
||||
[profile.release.package."veloren-server-cli"]
|
||||
debug = 1
|
||||
[profile.release.package."veloren-voxygen"]
|
||||
debug = 1
|
||||
[profile.release.package."veloren-world"]
|
||||
debug = 1
|
||||
|
||||
# used for cargo bench
|
||||
[profile.bench]
|
||||
|
Loading…
Reference in New Issue
Block a user