mirror of
https://github.com/openai/codex.git
synced 2026-10-26 18:38:47 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user