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.
This commit is contained in:
pakrym-oai
2026-02-25 18:02:06 -08:00
parent ff7fe59668
commit 19ba659caa
+4
View File
@@ -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