From 2d0aba579af949283bc4aeefd1d77c6428357fbf Mon Sep 17 00:00:00 2001 From: Fabian Kaczmarczyck Date: Thu, 9 Nov 2023 14:31:03 +0100 Subject: [PATCH] Updates cargo bloat workflow to default features --- .github/workflows/cargo_bloat.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cargo_bloat.yml b/.github/workflows/cargo_bloat.yml index 37229da5..44ea0c0d 100644 --- a/.github/workflows/cargo_bloat.yml +++ b/.github/workflows/cargo_bloat.yml @@ -21,7 +21,7 @@ jobs: - name: Set up OpenSK run: ./setup.sh - name: Run bloat on the PR - run: RUSTFLAGS="-C link-arg=-icf=all -C force-frame-pointers=no -C link-arg=-Tnrf52840_layout.ld" cargo bloat --release --target=thumbv7em-none-eabi --features=with_ctap1,vendor_hid --crates >> .github/workflows/bloat_output_new.txt + run: RUSTFLAGS="-C link-arg=-icf=all -C force-frame-pointers=no -C link-arg=-Tnrf52840_layout.ld" cargo bloat --release --target=thumbv7em-none-eabi --features=config_command,with_ctap1 --crates >> .github/workflows/bloat_output_new.txt # Second run: PR - uses: actions/checkout@v2 @@ -34,7 +34,7 @@ jobs: run: ./setup.sh - name: Run bloat on base working-directory: ./OpenSK_base - run: RUSTFLAGS="-C link-arg=-icf=all -C force-frame-pointers=no -C link-arg=-Tnrf52840_layout.ld" cargo bloat --release --target=thumbv7em-none-eabi --features=with_ctap1,vendor_hid --crates >> "$GITHUB_WORKSPACE/.github/workflows/bloat_output_old.txt" + run: RUSTFLAGS="-C link-arg=-icf=all -C force-frame-pointers=no -C link-arg=-Tnrf52840_layout.ld" cargo bloat --release --target=thumbv7em-none-eabi --features=config_command,with_ctap1 --crates >> "$GITHUB_WORKSPACE/.github/workflows/bloat_output_old.txt" - name: Run output formatter to echo workflow command run: ./.github/workflows/bloat_formatter.sh bloat_output_new.txt bloat_output_old.txt bloat_comment.md