diff --git a/.github/workflows/rust-release-windows.yml b/.github/workflows/rust-release-windows.yml index 033027f5e2..fd411715be 100644 --- a/.github/workflows/rust-release-windows.yml +++ b/.github/workflows/rust-release-windows.yml @@ -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 diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 5e0d7f9ac9..cfe3a05a07 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -206,7 +206,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