From 19ba659caae47d3c16ab2de0a86249c833ad4940 Mon Sep 17 00:00:00 2001 From: pakrym-oai Date: Wed, 25 Feb 2026 18:02:06 -0800 Subject: [PATCH] ci: build release artifacts in rust-ci workflow Add a conditional `cargo build --release` step for release profile targets in the rust CI workflow, ensuring release builds are exercised in CI. --- .github/workflows/rust-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 8e8825e9f8..5354f80ccb 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -390,6 +390,10 @@ jobs: - name: cargo clippy run: cargo clippy --target ${{ matrix.target }} --all-features --tests --profile ${{ matrix.profile }} --timings -- -D warnings + - name: cargo build (release) + if: ${{ matrix.profile == 'release' }} + run: cargo build --release + - name: Upload Cargo timings (clippy) if: always() uses: actions/upload-artifact@v6