From 364776e524866821393459313cf200567ce9475b Mon Sep 17 00:00:00 2001 From: pinkforest <36498018+pinkforest@users.noreply.github.com> Date: Tue, 31 Jan 2023 06:56:55 +1100 Subject: [PATCH 1/2] chore: Release wasm strip synbols --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index daf4f8cc..c96eec43 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,3 +9,11 @@ members = [ # See https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#splitting-debug-information [profile.dev] split-debuginfo = "unpacked" + +[profile.release] +codegen-units = 1 +strip = "symbols" +debug = false +lto = true +opt-level = "z" +panic = 'abort' From 3a47f4d81c449e1a709a82eae51e5c3e66157437 Mon Sep 17 00:00:00 2001 From: pinkforest <36498018+pinkforest@users.noreply.github.com> Date: Tue, 31 Jan 2023 08:11:09 +1100 Subject: [PATCH 2/2] chore: Continue on-error for codecov upload --- .github/workflows/coverage.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 185628b2..7361b389 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -50,7 +50,8 @@ jobs: - name: Upload to codecov.io uses: codecov/codecov-action@v3 + continue-on-error: true with: token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: true + fail_ci_if_error: false files: lcov.info