Skip to content

Commit c170037

Browse files
committed
ci(native): switch codex dependencies to git (main); remove clone; add Rust toolchain setup
1 parent 2532186 commit c170037

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/native-wheels.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ jobs:
2222
- name: Checkout repository
2323
uses: actions/checkout@v4
2424

25-
- name: Fetch upstream codex repo (public)
26-
shell: bash
27-
run: |
28-
# Adjust the repo/ref here if you want to pin to a tag or fork
29-
git clone --depth 1 https://github.com/openai/codex codex-proj
25+
- name: Set up Rust
26+
uses: dtolnay/rust-toolchain@stable
3027

3128
- name: Set up Python
3229
uses: actions/setup-python@v5
@@ -64,4 +61,3 @@ jobs:
6461
with:
6562
packages-dir: dist
6663
skip-existing: true
67-

crates/codex_native/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal", "pro
1616
tracing = "0.1"
1717

1818
# Path deps into the upstream workspace
19-
codex-core = { path = "../../codex-proj/codex-rs/core" }
20-
codex-protocol = { path = "../../codex-proj/codex-rs/protocol" }
19+
codex-core = { git = "https://github.com/openai/codex", package = "codex-core", branch = "main" }
20+
codex-protocol = { git = "https://github.com/openai/codex", package = "codex-protocol", branch = "main" }

0 commit comments

Comments
 (0)