mirror of
https://github.com/openai/codex.git
synced 2026-10-19 16:17:49 +00:00
Make Bazel release jobs advisory (#52299)
## Why Parallel Bazel artifacts are advisory while Cargo remains the release path. ## What changed - Set `continue-on-error` for Bazel matrix jobs covering builds, Windows symbols and signing, and macOS signing, packaging, and verification. - Assign the main release build jobs in both workflows to the `bazel` environment with `deployment: false`. GitOrigin-RevId: e8a0fd522ec6482c0f39abdfc8677018be409361
This commit is contained in:
committed by
copyberry
parent
0b755b1945
commit
b6130e72f3
@@ -9,7 +9,12 @@ env:
|
||||
jobs:
|
||||
build-windows-binaries:
|
||||
name: Build Windows binaries - ${{ matrix.runner }} - ${{ matrix.target }} - ${{ matrix.bundle }} - ${{ matrix.build-system }}
|
||||
# Parallel Bazel artifacts are advisory while Cargo remains the release path.
|
||||
continue-on-error: ${{ matrix.build-system == 'bazel' }}
|
||||
runs-on: ${{ matrix.runs_on }}
|
||||
environment:
|
||||
name: bazel
|
||||
deployment: false
|
||||
# Temporary increase from 90 minutes while Cargo and Bazel build paths coexist.
|
||||
# Reassess after the transition using Bazel release build timings.
|
||||
timeout-minutes: 120
|
||||
@@ -301,6 +306,7 @@ jobs:
|
||||
needs:
|
||||
- build-windows-binaries
|
||||
name: Build Windows symbols - ${{ matrix.target }} - ${{ matrix.build-system }}
|
||||
continue-on-error: ${{ matrix.build-system == 'bazel' }}
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 15
|
||||
permissions:
|
||||
@@ -361,6 +367,7 @@ jobs:
|
||||
- build-windows-binaries
|
||||
- build-windows-voice
|
||||
name: Build - ${{ matrix.runner }} - ${{ matrix.target }} - ${{ matrix.build-system }}
|
||||
continue-on-error: ${{ matrix.build-system == 'bazel' }}
|
||||
runs-on: ${{ matrix.runs_on }}
|
||||
environment:
|
||||
name: azure-artifact-signing
|
||||
|
||||
@@ -59,7 +59,12 @@ jobs:
|
||||
build:
|
||||
needs: tag-check
|
||||
name: Build - ${{ matrix.runner }} - ${{ matrix.target }} - ${{ matrix.bundle }} - ${{ matrix.build-system }}
|
||||
# Parallel Bazel artifacts are advisory while Cargo remains the release path.
|
||||
continue-on-error: ${{ matrix.build-system == 'bazel' }}
|
||||
runs-on: ${{ matrix.runner }}
|
||||
environment:
|
||||
name: bazel
|
||||
deployment: false
|
||||
# Linux releases also build the native voice runtime in this job.
|
||||
timeout-minutes: 120
|
||||
permissions:
|
||||
@@ -627,6 +632,7 @@ jobs:
|
||||
needs: [build, build-macos-voice]
|
||||
if: ${{ always() && needs.build.result == 'success' && needs.build-macos-voice.result == 'success' }}
|
||||
name: Sign macOS binaries - ${{ matrix.target }} - ${{ matrix.bundle }} - ${{ matrix.build-system }}
|
||||
continue-on-error: ${{ matrix.build-system == 'bazel' }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
environment:
|
||||
@@ -872,6 +878,7 @@ jobs:
|
||||
package-macos:
|
||||
needs: sign-macos-binaries
|
||||
name: Package macOS artifacts - ${{ matrix.target }} - ${{ matrix.bundle }} - ${{ matrix.build-system }}
|
||||
continue-on-error: ${{ matrix.build-system == 'bazel' }}
|
||||
runs-on: macos-15-xlarge
|
||||
timeout-minutes: 45
|
||||
permissions:
|
||||
@@ -1155,6 +1162,7 @@ jobs:
|
||||
sign-macos-dmg:
|
||||
needs: package-macos
|
||||
name: Sign macOS DMG - ${{ matrix.target }} - ${{ matrix.build-system }}
|
||||
continue-on-error: ${{ matrix.build-system == 'bazel' }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
environment:
|
||||
@@ -1259,6 +1267,7 @@ jobs:
|
||||
- package-macos
|
||||
- sign-macos-dmg
|
||||
name: Verify macOS artifacts - ${{ matrix.target }} - ${{ matrix.bundle }} - ${{ matrix.build-system }}
|
||||
continue-on-error: ${{ matrix.build-system == 'bazel' }}
|
||||
runs-on: macos-15-xlarge
|
||||
timeout-minutes: 30
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user