Skip to content

Commit

Permalink
[ci] Adjust runner configurations to reduce stalls
Browse files Browse the repository at this point in the history
We added arm64 runners recently which may have increased CI congestion.
- Move Linux asan job from x64 to arm64
- Disable Linux x64 debug job, we'll rely on the arm64 one
- Since we're here, clean up handling of the Windows runner, which got removed
  and then added back previously.
  • Loading branch information
fhanau committed Jan 23, 2025
1 parent dee18e3 commit e51cbb6
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,24 @@ jobs:
]
include:
# Add an Address Sanitizer (ASAN) build on Linux for additional checking.
- os: { name: linux, image: ubuntu-22.04 }
- os: { name: linux-arm, image: ubuntu-22.04-arm }
config: { suffix: -asan }
# Windows has a custom non-debug bazel config.
- os: { name : windows, image : windows-2025 }
config: { suffix: '' }
# TODO (later): The custom Windows-debug configuration consistently runs out of disk
# space on CI, disable it for now. Once https://github.com/bazelbuild/bazel/issues/21615
# has been resolved we can likely re-enable it and possibly fold up the custom
# configurations, as we can more easily disable PDB file generation.
# - os: { name : windows, image : windows-2025 }
# config: { suffix: -debug, bazel-args: --config=windows_dbg }
exclude:
# Skip the matrix generated Windows non-debug config to use the one added above.
- os: { name : windows, image : windows-2025 }
config: { suffix: '' }
- os: { name : windows, image : windows-2025 }
config: { suffix: -debug }
# due to resource constraints, exclude the macOS-debug runner for now. linux-debug and
# linux-asan should provide sufficient coverage for building in the debug configuration.
# due to resource constraints, exclude the macOS and x64 Linux debug runners for now.
# arm64 Linux debug and asan should provide sufficient coverage for building in the debug
# configuration.
- os: { name : macOS, image : macos-15 }
config: { suffix: -debug }
- os: { name : linux, image : ubuntu-22.04 }
config: { suffix: -debug }
fail-fast: false
uses: ./.github/workflows/_bazel.yml
with:
Expand Down

0 comments on commit e51cbb6

Please sign in to comment.