Skip to content

Commit 3ef544f

Browse files
authored
chore: for release build, build specific targets instead of --all-targets (openai#1656)
I noticed that releases have taken longer and longer to build. Originally, I think I did `--all-targets` to be confident that everything builds cleanly, but that's really the job of CI that runs on `main`, so we're spending a lot of time in `rust-release.yml` for not that much additional signal.
1 parent 01c0896 commit 3ef544f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/rust-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
sudo apt install -y musl-tools pkg-config
9494
9595
- name: Cargo build
96-
run: cargo build --target ${{ matrix.target }} --release --all-targets --all-features
96+
run: cargo build --target ${{ matrix.target }} --release --bin codex --bin codex-exec --bin codex-linux-sandbox
9797

9898
- name: Stage artifacts
9999
shell: bash

0 commit comments

Comments
 (0)