From 716dd4c2907dfc3970df882ee07758ecef60217c Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Wed, 30 Oct 2024 13:55:40 +0100 Subject: [PATCH] try release build --- .github/workflows/cargo_llvm_cov.yml | 4 +--- scripts/simtest/codecov.sh | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cargo_llvm_cov.yml b/.github/workflows/cargo_llvm_cov.yml index 92538b2275d..76e034aa086 100644 --- a/.github/workflows/cargo_llvm_cov.yml +++ b/.github/workflows/cargo_llvm_cov.yml @@ -52,13 +52,12 @@ jobs: - name: Generate code coverage run: | cargo llvm-cov clean - RUSTFLAGS="-C debuginfo=0" IOTA_SKIP_SIMTESTS=1 cargo llvm-cov --ignore-run-fail --html nextest -vv -E '!package(iota-bridge)' + RUSTFLAGS="-C debuginfo=0" IOTA_SKIP_SIMTESTS=1 cargo llvm-cov --release --ignore-run-fail --html nextest -vv -E '!package(iota-bridge)' report-nextest: name: Upload report (nextest) needs: llvm-cov-nextest runs-on: self-hosted - if: always() steps: - name: Pack report run: tar -czvf nextest_coverage_report.tgz target/llvm-cov/html/ @@ -87,7 +86,6 @@ jobs: name: Upload report (simtest) needs: llvm-cov-simtest runs-on: self-hosted - if: always() steps: - name: Pack report run: tar -czvf simtest_coverage_report.tgz target/llvm-cov/html/ diff --git a/scripts/simtest/codecov.sh b/scripts/simtest/codecov.sh index c7405a42e56..53f99e09d7a 100755 --- a/scripts/simtest/codecov.sh +++ b/scripts/simtest/codecov.sh @@ -18,7 +18,7 @@ export SIMTEST_STATIC_INIT_MOVE=$root_dir"/examples/move/basics" cargo llvm-cov clean -RUSTFLAGS="-C debuginfo=0" MSIM_WATCHDOG_TIMEOUT_MS=60000 MSIM_TEST_SEED=1 cargo llvm-cov --ignore-run-fail --html nextest --cargo-profile simulator +RUSTFLAGS="-C debuginfo=0" MSIM_WATCHDOG_TIMEOUT_MS=60000 MSIM_TEST_SEED=1 cargo llvm-cov --release --ignore-run-fail --html nextest --cargo-profile simulator # remove the patch git checkout .cargo/config Cargo.toml Cargo.lock