From 4454cd11a4728bb82acd279592205225c9ee6668 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Fri, 19 Jan 2024 14:56:38 +0800 Subject: [PATCH] fix(ci): disable LTO for `ci-release` to resolve build timeout in main-cron (#14677) Signed-off-by: Bugen Zhao --- Cargo.toml | 1 + ci/workflows/main-cron.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7bd67bc583745..e0280fe3b9323 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -239,6 +239,7 @@ lto = "thin" [profile.ci-release] inherits = "release" incremental = false +lto = "off" debug = "line-tables-only" split-debuginfo = "off" debug-assertions = true diff --git a/ci/workflows/main-cron.yml b/ci/workflows/main-cron.yml index ee87f3ed3f5f1..d5a030e10a791 100644 --- a/ci/workflows/main-cron.yml +++ b/ci/workflows/main-cron.yml @@ -17,7 +17,7 @@ steps: run: rw-build-env config: ci/docker-compose.yml mount-buildkite-agent: true - timeout_in_minutes: 30 + timeout_in_minutes: 20 retry: *auto-retry - label: "build other components"