Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
ink
Commits
17b0da58
Commit
17b0da58
authored
Oct 25, 2019
by
Denis_P
🏑
Committed by
Hero Bird
Oct 25, 2019
Browse files
Fix RUSTFLAGS in CI (#216)
* WIP * typo * error with toml parsing * test
parent
a86d671b
Pipeline
#54967
failed with stages
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
17b0da58
...
...
@@ -15,7 +15,6 @@ variables:
SCCACHE_DIR
:
"
/ci-cache/${CI_PROJECT_NAME}/sccache"
CARGO_INCREMENTAL
:
0
CI_SERVER_NAME
:
"
GitLab
CI"
RUSTFLAGS
:
"
-C
link-dead-code"
REGISTRY
:
registry.parity.io/parity/infrastructure/scripts
.collect-artifacts
:
&collect-artifacts
...
...
@@ -33,6 +32,8 @@ variables:
-
rustc -vV
-
rustup show
-
bash --version
# global RUSTFLAGS overrides the linker args so this way is better to pass the flags
-
printf '[build]\nrustflags = ["-C", "link-dead-code"]\n' | tee ${CARGO_HOME}/config
-
sccache -s
only
:
-
master
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment