2121 run :
2222 working-directory : codex-rs
2323 env :
24- CARGO_PROFILE_RELEASE_LTO : thin
24+ ACTIONS_RUNNER_DEBUG : true
25+ ACTIONS_STEP_DEBUG : true
26+ CARGO_BUILD_JOBS : 1
27+ CARGO_PROFILE_RELEASE_LTO : off
2528 strategy :
2629 fail-fast : false
2730 matrix :
@@ -30,14 +33,22 @@ jobs:
3033 target : x86_64-unknown-linux-musl
3134 - runner : ubuntu-24.04-arm
3235 target : aarch64-unknown-linux-musl
33- - runner : macos-15-intel
34- target : x86_64-apple-darwin
35- - runner : macos-15
36- target : aarch64-apple-darwin
3736
3837 steps :
3938 - uses : actions/checkout@v6
4039
40+ - name : Print runner diagnostics
41+ shell : bash
42+ run : |
43+ set -euo pipefail
44+ echo "runner.os=${RUNNER_OS}"
45+ echo "runner.arch=${RUNNER_ARCH}"
46+ echo "target=${{ matrix.target }}"
47+ echo "nproc=$(nproc)"
48+ free -h
49+ df -h
50+ ulimit -a
51+
4152 - name : Install Linux build dependencies
4253 if : ${{ runner.os == 'Linux' }}
4354 shell : bash
@@ -173,7 +184,10 @@ jobs:
173184
174185 - name : Cargo build
175186 shell : bash
176- run : cargo build --locked --target ${{ matrix.target }} --release -p codex-cli --bin codex
187+ run : |
188+ set -euo pipefail
189+ trap 'echo "Cargo build exit status $?"; free -h; df -h' EXIT
190+ cargo build --locked --target ${{ matrix.target }} --release -p codex-cli --bin codex
177191
178192 - uses : actions/upload-artifact@v7
179193 with :
@@ -182,6 +196,7 @@ jobs:
182196 if-no-files-found : error
183197
184198 build-windows :
199+ if : ${{ false }}
185200 name : Build - windows-2025 - ${{ matrix.target }}
186201 runs-on : windows-2025
187202 timeout-minutes : 90
@@ -234,6 +249,7 @@ jobs:
234249 if-no-files-found : error
235250
236251 publish-release :
252+ if : ${{ false }}
237253 needs :
238254 - build-unix
239255 - build-windows
@@ -347,6 +363,7 @@ jobs:
347363 --clobber
348364
349365 publish-npm :
366+ if : ${{ false }}
350367 needs :
351368 - build-unix
352369 - build-windows
0 commit comments