Skip to content

Fix build break and build release - #2242

Merged
pakrym-oai merged 7 commits into
mainfrom
pakrym/fix-build-break-and-build-debug
Aug 12, 2025
Merged

pakrym-oai merged 7 commits into
mainfrom
pakrym/fix-build-break-and-build-debug

Conversation

@pakrym-oai

@pakrym-oai pakrym-oai commented Aug 12, 2025 •

Copy link
Copy Markdown
Contributor

Build release profile for one configuration.

@pakrym-oai pakrym-oai changed the title Fix build break and build debug Fix build break and build release Aug 12, 2025
@pakrym-oai
pakrym-oai requested a review from bolinfest August 12, 2025 22:24

@bolinfest bolinfest left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, but I have some questions.

profile: dev
- runner: macos-14
target: aarch64-apple-darwin
profile: release

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this one build the fastest? And can you add a comment here because it's a bit subtle since it's in the middle of the list?

Arguably we should do one Mac and one Linux release mode because there is stuff conditionally compiled for Landlock that sometimes I forget to test...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added linux

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both release builds are slow so I kept them non-blocking for merge.

~/.cargo/git/db/
${{ github.workspace }}/codex-rs/target/
key: cargo-${{ matrix.runner }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
key: cargo-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ hashFiles('**/Cargo.lock') }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can/should we update rust-release.yml to match and get cache hits?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@bolinfest bolinfest left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finding a better way to keep the tree green!

Comment thread codex-rs/tui/src/updates.rs Resolved
@pakrym-oai
pakrym-oai merged commit 97a27ff into main Aug 12, 2025
@pakrym-oai
pakrym-oai deleted the pakrym/fix-build-break-and-build-debug branch August 12, 2025 22:56
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants