From e672912e0b53435e49c53e2fd4976dc71f50befd Mon Sep 17 00:00:00 2001 From: surangap Date: Tue, 19 Jul 2022 20:14:59 +0800 Subject: [PATCH] Fix CI failures. --- .github/workflows/ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c808778..48b943e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,9 @@ jobs: - uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: profile: minimal - toolchain: stable + toolchain: nightly + target: wasm32-unknown-unknown + default: true override: true components: rustfmt @@ -55,7 +57,9 @@ jobs: - uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: profile: minimal - toolchain: stable + toolchain: nightly + target: wasm32-unknown-unknown + default: true override: true components: clippy @@ -71,7 +75,10 @@ jobs: - uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f with: + profile: minimal toolchain: nightly + target: wasm32-unknown-unknown + default: true override: true - uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b @@ -80,8 +87,8 @@ jobs: args: --all-features --no-fail-fast env: CARGO_INCREMENTAL: '0' - RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' - RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' + RUSTFLAGS: '-Zprofile -Zno-profiler-runtime -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' + RUSTDOCFLAGS: '-Zprofile -Zno-profiler-runtime -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' - id: coverage uses: actions-rs/grcov@bb47b1ed7883a1502fa6875d562727ace2511248