torch-mlir/.github/workflows
Ashay Rane 031d127940
ci: introduce read-only and read-write PyTorch build caches (#1546)
Until recently, we had to either risk feature branches creating PyTorch
build caches (which were unusable by the main branch or other parallel
feature branches because of GitHub's rules around sharing caches among
branches) or we had to limit the PyTorch build caches to only the main
branch, causing CI runs on feature branches to be terribly slow because
they had to rebuild PyTorch each time.

This patch enables the best of both worlds, by using a fork
(github.com/ashay/cache) of the GitHub's cache action, where the fork
adds an option (called `save`) which, when set, uploads a new cache
entry.  We thus set this `save` flag only when we're building PyTorch
from source in Torch-MLIR's main branch, whereas all other builds set
this `save` flag to `false`.

The ability to conditionally update the cache has been an oft-requested
feature on the original (github.com/actions/cache) repository and
multiple unmerged PRs exist to allow conditional cache updates, so it is
likely that using the fork is only a temporary solution.
2022-11-01 23:26:17 -07:00
..
RollPyTorch.yml ci: introduce read-only and read-write PyTorch build caches (#1546) 2022-11-01 23:26:17 -07:00
bazelBuildAndTest.yml [Bazel] Check cache directory exists before changing owners (#1241) 2022-08-17 17:04:50 -07:00
buildAndTest.yml ci: introduce read-only and read-write PyTorch build caches (#1546) 2022-11-01 23:26:17 -07:00
buildRelease.yml remove spurious ref in publish pages (#1536) 2022-11-01 09:42:21 -07:00
gh-pages-releases.yml Update releases pages after release builds (#1432) 2022-09-29 12:49:41 -07:00
oneshotSnapshotPackage.yml Update oneshotSnapshotPackage.yml 2022-07-02 10:00:52 -07:00
releaseSnapshotPackage.yml Build the nightly package only once a day/night 2022-06-04 22:40:53 -07:00