ci: Disable lto for ci.yml job release-builds (#1114)

LTO takes way too long and it is mature enough that it usually does not
have any miscompilation.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-06-01 19:48:00 +10:00 committed by GitHub
parent 92fdefbc9e
commit db6f3d2bfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View file

@ -151,6 +151,9 @@ jobs:
release-builds:
uses: ./.github/workflows/release-build.yml
with:
CARGO_PROFILE_RELEASE_LTO: no
CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 1024
# Dummy job to have a stable name for the "all tests pass" requirement
tests-pass: