feat: run cargo build with --timings and record them in CI

This commit is contained in:
Michael Bolin
2026-02-11 21:43:20 -08:00
parent cccf9b5eb4
commit b77fe6b8d8
3 changed files with 34 additions and 4 deletions
+8 -1
View File
@@ -205,7 +205,14 @@ jobs:
- name: Cargo build
shell: bash
run: |
cargo build --target ${{ matrix.target }} --release --bin codex --bin codex-responses-api-proxy
cargo build --target ${{ matrix.target }} --release --timings --bin codex --bin codex-responses-api-proxy
- name: Upload Cargo timings
uses: actions/upload-artifact@v6
with:
name: cargo-timings-rust-release-${{ matrix.target }}
path: codex-rs/target/**/cargo-timings/cargo-timing.html
if-no-files-found: warn
- if: ${{ contains(matrix.target, 'linux') }}
name: Cosign Linux artifacts