Lightweight coding agent that runs in your terminal
Rust
upgrade runners in rust-ci.yml to use the larger runners (#9106)
willwang-openai71a2973fd999
diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.ymlindex 1af0bf2f4a..49c2e6c771 100644--- a/.github/workflows/rust-ci.yml+++ b/.github/workflows/rust-ci.yml@@ -88,7 +88,7 @@ jobs:# --- CI to validate on different os/targets --------------------------------lint_build:name: Lint/Build — ${{ matrix.runner }} - ${{ matrix.target }}${{ matrix.profile == 'release' && ' (release)' || '' }}- runs-on: ${{ matrix.runner }}+ runs-on: ${{ matrix.runs_on || matrix.runner }}timeout-minutes: 30needs: changed# Keep job-level if to avoid spinning up runners when not needed@@ -106,47 +106,74 @@ jobs:fail-fast: falsematrix:include:- - runner: macos-14+ - runner: macos-15-xlargetarget: aarch64-apple-darwinprofile: dev- - runner: macos-14+ - runner: macos-15-xlargetarget: x86_64-apple-darwinprofile: dev- runner: ubuntu-24.04target: x86_64-unknown-linux-muslprofile: dev+ runs_on:+ group: codex-runners+ labels: codex-linux-x64- runner: ubuntu-24.04target: x86_64-unknown-linux-gnuprofile: dev+ runs_on:+ group: codex-runners+ labels: codex-linux-x64- runner: ubuntu-24.04-armtarget: aarch64-unknown-linux-muslprofile: dev+ runs_on:+ group: codex-runners+ labels: codex-linux-arm64- runner: ubuntu-24.04-armtarget: aarch64-unknown-linux-gnuprofile: dev- - runner: windows-latest+ runs_on:+ group: codex-runners+ labels: codex-linux-arm64+ - runner: windows-x64target: x86_64-pc-windows-msvcprofile: dev- - runner: windows-11-arm+ runs_on:+ group: codex-runners+ labels: codex-windows-x64+ - runner: windows-arm64target: aarch64-pc-windows-msvcprofile: dev+ runs_on:+ group: codex-runners+ labels: codex-windows-arm64# Also run representative release builds on Mac and Linux because# there could be release-only build errors we want to catch.# Hopefully this also pre-populates the build cache to speed up# releases.- - runner: macos-14+ - runner: macos-15-xlargetarget: aarch64-apple-darwinprofile: release- runner: ubuntu-24.04target: x86_64-unknown-linux-muslprofile: release- - runner: windows-latest+ runs_on:+ group: codex-runners+ labels: codex-linux-x64+ - runner: windows-x64target: x86_64-pc-windows-msvcprofile: release- - runner: windows-11-arm+ runs_on:+ group: codex-runners+ labels: codex-windows-x64+ - runner: windows-arm64target: aarch64-pc-windows-msvcprofile: release+ runs_on:+ group: codex-runners+ labels: codex-windows-arm64steps:- uses: actions/checkout@v6@@ -336,7 +363,7 @@ jobs:tests:name: Tests — ${{ matrix.runner }} - ${{ matrix.target }}- runs-on: ${{ matrix.runner }}+ runs-on: ${{ matrix.runs_on || matrix.runner }}timeout-minutes: 30needs: changedif: ${{ needs.changed.outputs.codex == 'true' || needs.changed.outputs.workflows == 'true' || github.event_name == 'push' }}@@ -353,40 +380,37 @@ jobs:fail-fast: falsematrix:include:- - runner: macos-14+ - runner: macos-15-xlargetarget: aarch64-apple-darwinprofile: dev- runner: ubuntu-24.04target: x86_64-unknown-linux-gnuprofile: dev+ runs_on:+ group: codex-runners+ labels: codex-linux-x64- runner: ubuntu-24.04-armtarget: aarch64-unknown-linux-gnuprofile: dev- - runner: windows-latest+ runs_on:+ group: codex-runners+ labels: codex-linux-arm64+ - runner: windows-x64target: x86_64-pc-windows-msvcprofile: dev- - runner: windows-11-arm+ runs_on:+ group: codex-runners+ labels: codex-windows-x64+ - runner: windows-arm64target: aarch64-pc-windows-msvcprofile: dev+ runs_on:+ group: codex-runners+ labels: codex-windows-arm64steps:- uses: actions/checkout@v6- # We have been running out of space when running this job on Linux for- # x86_64-unknown-linux-gnu, so remove some unnecessary dependencies.- - name: Remove unnecessary dependencies to save space- if: ${{ startsWith(matrix.runner, 'ubuntu') }}- shell: bash- run: |- set -euo pipefail- sudo rm -rf \- /usr/local/lib/android \- /usr/share/dotnet \- /usr/local/share/boost \- /usr/local/lib/node_modules \- /opt/ghc- sudo apt-get remove -y docker.io docker-compose podman buildah-# Some integration tests rely on DotSlash being installed.# See https://github.com/openai/codex/pull/7617.- name: Install DotSlash