mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-23 06:09:59 +00:00
rust builds: disable incremental builds
For a CI build, storing incremental build data just makes the cache bigger, for minimal gain. Also, for Rust < 1.52.1 there are incremental compilation bugs. CircleCI is currently building on 1.51. This only affects the debug build; incremental compilation isn't used on the release build.
This commit is contained in:
committed by
Eric Seppanen
parent
064aa44a06
commit
eb1f1a347d
@@ -100,6 +100,7 @@ jobs:
|
||||
- run:
|
||||
name: Rust build << parameters.build_type >>
|
||||
command: |
|
||||
export CARGO_INCREMENTAL=0
|
||||
BUILD_TYPE="<< parameters.build_type >>"
|
||||
if [[ $BUILD_TYPE == "debug" ]]; then
|
||||
echo "Build in debug mode"
|
||||
@@ -128,6 +129,7 @@ jobs:
|
||||
- run:
|
||||
name: cargo install
|
||||
command: |
|
||||
export CARGO_INCREMENTAL=0
|
||||
BUILD_TYPE="<< parameters.build_type >>"
|
||||
if [[ $BUILD_TYPE == "debug" ]]; then
|
||||
echo "Install debug mode"
|
||||
|
||||
Reference in New Issue
Block a user