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

This commit is contained in:
Michael Bolin
2026-02-11 21:17:26 -08:00
parent c40c508d4e
commit 3387f07807
3 changed files with 34 additions and 4 deletions
+8 -1
View File
@@ -89,7 +89,14 @@ jobs:
- name: Cargo build (Windows binaries)
shell: bash
run: |
cargo build --target ${{ matrix.target }} --release ${{ matrix.build_args }}
cargo build --target ${{ matrix.target }} --release --timings ${{ matrix.build_args }}
- name: Upload Cargo timings
uses: actions/upload-artifact@v6
with:
name: cargo-timings-rust-release-windows-${{ matrix.target }}-${{ matrix.bundle }}
path: codex-rs/target/**/cargo-timings/cargo-timing.html
if-no-files-found: warn
- name: Stage Windows binaries
shell: bash