Workaround for Rust 1.31 crash with verbose mode enabled (#162)
This branch replaces the `export CARGO_VERBOSE=1` on CI release-mode builds with the `travis_wait` script. Verbose mode was previously being set to prevent long release-mode builds from timing out. However, there appears to be a bug in `rustc` 1.31.0, which causes the compiler to crash when building the proxy with verbose mode enabled. Hopefully, this will fix the build on master. Signed-off-by: Eliza Weisman <eliza@buoyant.io>
This commit is contained in:
parent
761a08e4ac
commit
7c35f27ad3
|
@ -22,11 +22,11 @@ jobs:
|
||||||
# build.l5d.io/linkerd2-proxy/latest.txt is updated to reference the latest
|
# build.l5d.io/linkerd2-proxy/latest.txt is updated to reference the latest
|
||||||
# uploaded binary.
|
# uploaded binary.
|
||||||
- if: type != pull_request
|
- if: type != pull_request
|
||||||
# Verbose is enabled so that the build doesn't timeout.
|
install: export CARGO_RELEASE=1
|
||||||
install: export CARGO_RELEASE=1 CARGO_VERBOSE=1
|
|
||||||
script:
|
script:
|
||||||
- make clean-package package
|
# travis-wait is used so that the build doesn't timeout.
|
||||||
- make test
|
- travis_wait 30 make clean-package package
|
||||||
|
- travis_wait 30 make test
|
||||||
rust: stable
|
rust: stable
|
||||||
deploy:
|
deploy:
|
||||||
on:
|
on:
|
||||||
|
|
Loading…
Reference in New Issue