Skip to content

Commit

Permalink
Disable third party builds (on push to main) until we migrate to self…
Browse files Browse the repository at this point in the history
…-hosted runners (#38)

We're hitting `no space left on device` errors during llvm and stablehlo
builds with the free GitHub hosted runners, which come with limited disk
space allocations. Cleaning up the runners as recommended
[here](https://github.com/orgs/community/discussions/25678),
[here](https://github.com/orgs/community/discussions/26351) and
actions/runner-images#2875 have helped
partially (increase root mount from 20G to 47G) but it still isn't
enough for some builds. Temporarily disable the 3p builds on push to
main (they will still run as non-merge gating on PRs), and re-enable
once self-hosted runners are setup.
  • Loading branch information
sjain-stanford committed Feb 13, 2024
1 parent 56fa324 commit 1bec376
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 18 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/bazelBuildAndTestLlvm.yml
Expand Up @@ -13,12 +13,13 @@ on:
paths:
- 'deps.bzl'
- '.github/workflows/bazelBuildAndTestLlvm.yml'
push:
branches:
- main
paths:
- 'deps.bzl'
- '.github/workflows/bazelBuildAndTestLlvm.yml'
# TODO: Use self-hosted runners as we hit disk space issues with GitHub hosted runners
# push:
# branches:
# - main
# paths:
# - 'deps.bzl'
# - '.github/workflows/bazelBuildAndTestLlvm.yml'
workflow_dispatch:

# Ensure that only a single job or workflow using the same
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/bazelBuildAndTestStablehlo.yml
Expand Up @@ -13,12 +13,13 @@ on:
paths:
- 'deps.bzl'
- '.github/workflows/bazelBuildAndTestStablehlo.yml'
push:
branches:
- main
paths:
- 'deps.bzl'
- '.github/workflows/bazelBuildAndTestStablehlo.yml'
# TODO: Use self-hosted runners as we hit disk space issues with GitHub hosted runners
# push:
# branches:
# - main
# paths:
# - 'deps.bzl'
# - '.github/workflows/bazelBuildAndTestStablehlo.yml'
workflow_dispatch:

# Ensure that only a single job or workflow using the same
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/bazelBuildAndTestTorchmlir.yml
Expand Up @@ -13,12 +13,13 @@ on:
paths:
- 'deps.bzl'
- '.github/workflows/bazelBuildAndTestTorchmlir.yml'
push:
branches:
- main
paths:
- 'deps.bzl'
- '.github/workflows/bazelBuildAndTestTorchmlir.yml'
# TODO: Use self-hosted runners as we hit disk space issues with GitHub hosted runners
# push:
# branches:
# - main
# paths:
# - 'deps.bzl'
# - '.github/workflows/bazelBuildAndTestTorchmlir.yml'
workflow_dispatch:

# Ensure that only a single job or workflow using the same
Expand Down

0 comments on commit 1bec376

Please sign in to comment.