Files
codex/.github/actions/build-bazel-package-binaries/action.yml
T
ioanbudea-OAI caf0d30005 Upgrade the Rust toolchain to 1.99.1 (#61205)
## What changed

- Update the workspace, Bazel toolchain and lockfile, CI and release workflows, and Windows setup script from Rust `1.95.0` to `1.99.1`.
- Adapt Rust code to the updated toolchain and Clippy lints, including `try_update` for atomics, `as_chunks` for fixed-size slices, and targeted allowances for generated tonic services.
- Refresh the halfwidth sound mark rendering snapshot to use literal characters in debug output.

GitOrigin-RevId: 5852029f687436dc814c2bca68141ee1f4a67d49
2026-11-12 23:51:52 +00:00

36 lines
1.1 KiB
YAML

name: Build Bazel package binaries
description: Set up Bazel and stage unstripped runtime package binaries and symbols.
inputs:
target:
description: Rust release target triple.
required: true
build-mode:
description: Release optimizations, or debug for faster package smoke builds.
default: release
runs:
using: composite
steps:
- name: Set up Bazel
uses: ./.github/actions/prepare-bazel-ci
with:
target: ${{ inputs.target }}
cache-scope: bazel-release
- name: Install Cargo for workspace metadata
uses: dtolnay/rust-toolchain@d124f86f28ff42855784ff3319f48ac182c248f8 # 1.99.1
- name: Prepare native Windows release dependencies
if: ${{ runner.os == 'Windows' }}
uses: ./.github/actions/setup-bazel-windows
with:
target: ${{ inputs.target }}
- name: Build Bazel release binaries and symbols
uses: ./.github/actions/build-bazel-release
with:
target: ${{ inputs.target }}
bundle: combined
release-dir: ${{ env.CARGO_TARGET_DIR }}/${{ inputs.target }}/release
build-mode: ${{ inputs.build-mode }}