mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-09 22:57:59 -05:00
chore(ci): LTO is causing issues in M1 CI tests use LTO off instead
This commit is contained in:
1
.github/workflows/m1_tests.yml
vendored
1
.github/workflows/m1_tests.yml
vendored
@@ -15,6 +15,7 @@ env:
|
|||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
RUSTFLAGS: "-C target-cpu=native"
|
RUSTFLAGS: "-C target-cpu=native"
|
||||||
ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
|
CARGO_PROFILE: release_lto_off
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.head_ref }}
|
group: ${{ github.workflow }}-${{ github.head_ref }}
|
||||||
|
|||||||
@@ -8,6 +8,10 @@ lto = "fat"
|
|||||||
[profile.release]
|
[profile.release]
|
||||||
lto = "fat"
|
lto = "fat"
|
||||||
|
|
||||||
|
[profile.release_lto_off]
|
||||||
|
inherits = "release"
|
||||||
|
lto = "off"
|
||||||
|
|
||||||
# Compiles much faster for tests and allows reasonable performance for iterating
|
# Compiles much faster for tests and allows reasonable performance for iterating
|
||||||
[profile.devo]
|
[profile.devo]
|
||||||
inherits = "dev"
|
inherits = "dev"
|
||||||
|
|||||||
Reference in New Issue
Block a user