[codex] ci: restore native Windows release builds #1159
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check Ubuntu | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: "-D warnings" | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" | |
| jobs: | |
| check: | |
| name: Check (ubuntu-latest) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v3 | |
| - name: Setup soldr | |
| id: setup-soldr | |
| uses: zackees/setup-soldr@v0.9.62 | |
| with: | |
| cache: true | |
| build-cache: true | |
| target-cache: true | |
| prebuild-deps: none | |
| # Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo / | |
| # rust-toolchain.toml stays in charge. Silences the routine | |
| # "defaulting SOLDR_LINKER=fast" warning (issue #400 / | |
| # setup-soldr#377). | |
| linker: platform-default | |
| # Realistic zccache payload for the workspace check job is | |
| # ~1.5–2 GiB (issue #400). Raise the soft warn threshold above | |
| # the steady-state size so the action only flags genuinely | |
| # runaway caches. Hard cap stays at the action default (6 GiB). | |
| cache-payload-warn-bytes: 2GiB | |
| - name: Check | |
| run: soldr cargo check --workspace --all-targets | |
| - name: Clippy | |
| run: soldr cargo clippy --workspace --all-targets -- -D warnings | |
| - name: Lint subprocess spawns | |
| run: uv run python ci/find_direct_subprocess.py --fail | |
| - name: Test | |
| run: soldr cargo test --workspace |