Lightweight coding agent that runs in your terminal
Rust
fix: try to populate the Windows cache for release builds when PRs are put up for review (#2884)
Michael Bolin7eee69d821d1
diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.ymlindex 7d02c95dee..22a9291a5f 100644--- a/.github/workflows/rust-ci.yml+++ b/.github/workflows/rust-ci.yml@@ -103,12 +103,17 @@ jobs:# Also run representative release builds on Mac and Linux because# there could be release-only build errors we want to catch.+ # Hopefully this also pre-populates the build cache to speed up+ # releases.- runner: macos-14target: aarch64-apple-darwinprofile: release- runner: ubuntu-24.04target: x86_64-unknown-linux-muslprofile: release+ - runner: windows-latest+ target: x86_64-pc-windows-msvc+ profile: releasesteps:- uses: actions/checkout@v5diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.ymlindex 0044b864c7..a6d8128a3e 100644--- a/.github/workflows/rust-release.yml+++ b/.github/workflows/rust-release.yml@@ -87,7 +87,7 @@ jobs:~/.cargo/registry/cache/~/.cargo/git/db/${{ github.workspace }}/codex-rs/target/- key: cargo-release-${{ matrix.runner }}-${{ matrix.target }}-release-${{ hashFiles('**/Cargo.lock') }}+ key: cargo-${{ matrix.runner }}-${{ matrix.target }}-release-${{ hashFiles('**/Cargo.lock') }}- if: ${{ matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-musl'}}name: Install musl build tools