Repository navigation
Add multi-stage full build and test - #9877
Merged
Merged
Conversation
Unsurprisingly, this did not help This reverts commit 0465547.
…is unnecessary for normal things
GMNGeoffrey
marked this pull request as ready for review
July 26, 2022 05:02
Member
Author
|
Hmm, maybe we'll do GPU in a follow-up... |
pzread
approved these changes
Jul 26, 2022
GMNGeoffrey
enabled auto-merge (squash)
July 26, 2022 20:45
GMNGeoffrey
disabled auto-merge
July 26, 2022 21:00
GMNGeoffrey
enabled auto-merge (squash)
July 26, 2022 21:01
Member
Author
|
Forgot to tag originally, but part of #9855 |
42 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This creates jobs to build all of IREE on one machine and then test on
another, passing the build directory around. This same build directory
can be used in other jobs also (e.g. for GPU testing, which I'm punting
on for now).
I ran into issues using the GitHub action artifacts for this. I knew
we'd get suboptimal transfer speeds since it's hosted on Azure and
we'd probably want another solution eventually, but they were much
worse than I expected. So this uses a GCS bucket for the transfer
instead.
We don't want presubmit jobs to be able to affect builds from other
commits, so that's a bit tricky. To get around this, I have separate
buckets for presubmit and postsubmit. The runners only have "create"
and "read" permissions, not "delete" permissions, which means they
cannot remove or overwrite existing artifacts. They upload to a file
including the commit name in its path. If a file is already there, the
upload (and therefore the job) would fail. I think this avoids the
possibility of one build affecting another, even if someone were trying
to do so intentionally. If we move to avoiding rerunning a job if the
artifact for it already exists, we'll need to revisit this.
Part of #9881