diff --git a/ci/build.yml b/ci/build.yml index aa90802992..c3f710e6f7 100644 --- a/ci/build.yml +++ b/ci/build.yml @@ -276,13 +276,17 @@ crypto build: - ci/**/* - crypto/**/* script: + - cp -r crypto crypto_noasan - nix-shell --run "poetry run make -C crypto" + - nix-shell --run "export ADDRESS_SANITIZER=0; poetry run make -C crypto_noasan" + - mv crypto_noasan/tests/test_check crypto/tests/test_check_noasan artifacts: name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" paths: - crypto/tests/aestst - crypto/tests/libtrezor-crypto.so - crypto/tests/test_check + - crypto/tests/test_check_noasan - crypto/tests/test_openssl expire_in: 1 week diff --git a/ci/test.yml b/ci/test.yml index 7408beeff2..45337e60d0 100644 --- a/ci/test.yml +++ b/ci/test.yml @@ -394,7 +394,7 @@ crypto test: - ./crypto/tests/test_check - ./crypto/tests/test_openssl 1000 - nix-shell --run "cd crypto && ITERS=10 poetry run pytest --junitxml=tests/junit.xml tests | ts -s" - - nix-shell --run "CK_TIMEOUT_MULTIPLIER=20 valgrind -q --error-exitcode=1 ./crypto/tests/test_check | ts -s" + - nix-shell --run "CK_TIMEOUT_MULTIPLIER=20 valgrind -q --error-exitcode=1 ./crypto/tests/test_check_noasan | ts -s" artifacts: name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA" paths: