Skip to content

Commit 024e030

Browse files
committed
chore(ci): re-enable release profile for doctest
- following merge of 17.0.4 in rust stable the bug uncovered by lto on aarch64 has been fixed rust-lang/rust#116941 so we remove the hard coded override
1 parent ab13461 commit 024e030

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.github/workflows/aws_tfhe_fast_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
8181
- name: Run user docs tests
8282
run: |
83-
CARGO_PROFILE=release_lto_off make test_user_doc
83+
make test_user_doc
8484
8585
- name: Run js on wasm API tests
8686
run: |

.github/workflows/aws_tfhe_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
8484
- name: Run user docs tests
8585
run: |
86-
CARGO_PROFILE=release_lto_off make test_user_doc
86+
make test_user_doc
8787
8888
- name: Gen Keys if required
8989
run: |

.github/workflows/m1_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
8686
- name: Run user docs tests
8787
run: |
88-
CARGO_PROFILE=release_lto_off make test_user_doc
88+
make test_user_doc
8989
9090
# JS tests are more easily launched in docker, we won't test that on M1 as docker is pretty
9191
# slow on Apple machines due to the virtualization layer.

scripts/integer-tests.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ not_multi_bit="_multi_bit"
2222
signed=""
2323
not_signed=""
2424
cargo_profile="release"
25-
# TODO: revert to release once the bug is properly fixed/identified
26-
cargo_profile_doctests="release_lto_off"
2725
avx512_feature=""
2826

2927
while [ -n "$1" ]
@@ -163,7 +161,7 @@ cargo "${RUST_TOOLCHAIN}" nextest run \
163161

164162
if [[ "${multi_bit}" == "" ]]; then
165163
cargo "${RUST_TOOLCHAIN}" test \
166-
--profile "${cargo_profile_doctests}" \
164+
--profile "${cargo_profile}" \
167165
--package tfhe \
168166
--features="${ARCH_FEATURE}",integer,internal-keycache,"${avx512_feature}" \
169167
--doc \

0 commit comments

Comments
 (0)