Skip to content

Commit

Permalink
try release build
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Oct 30, 2024
1 parent 41e7094 commit 716dd4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/cargo_llvm_cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion scripts/simtest/codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 716dd4c

Please sign in to comment.