Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

[release] temporarily use thin LTO for releases (#13506)

Michael Bolin4907096d1348
diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml
index 5d6d3f7ca0..b88c1f2641 100644
--- a/.github/workflows/rust-release.yml
+++ b/.github/workflows/rust-release.yml
@@ -57,7 +57,9 @@ jobs:
run:
working-directory: codex-rs
env:
- CARGO_PROFILE_RELEASE_LTO: ${{ contains(github.ref_name, '-alpha') && 'thin' || 'fat' }}
+ # 2026-03-04: temporarily change releases to use thin LTO because
+ # Ubuntu ARM is timing out at 60 minutes.
+ CARGO_PROFILE_RELEASE_LTO: ${{ contains(github.ref_name, '-alpha') && 'thin' || 'thin' }}
strategy:
fail-fast: false
@@ -211,6 +213,7 @@ jobs:
- name: Cargo build
shell: bash
run: |
+ echo "CARGO_PROFILE_RELEASE_LTO: ${CARGO_PROFILE_RELEASE_LTO}"
cargo build --target ${{ matrix.target }} --release --timings --bin codex --bin codex-responses-api-proxy
- name: Upload Cargo timings