-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#12273: Move full wheel build on GitHub runners and 22.04 to schedule…
…d job and fix wheel-related workflows to work with TT_FROM_PRECOMPILED (#12535) * #12273: Pass down from-precompiled as an option from eager-package callers so we can control whether or not we use build artifacts in wheel build * #12273: Try changing name of build-artifact so it doesn't conflict? * #12273: Run prepare-metal-run to download artifacts only if they're actually created, which should only be the case if we're building from precompiled * #12273: Try github expression wrapper * #12273: Split into multiple workflows so that we can call build + test wheels from anywhere, and the separate build + test is a separate workflow * #12273: Add push trigger for this branch * #12273: Condition precompiled flow with event name and put back installing metal deps for all cases for host wheel tests. Will see if this breaks something because precompiled binary links to python3.8 lib * #12273: Move host wheel jobs back to github hosted to see if we can start using clean 22.04 environments again. We should move this back to docker when we can * #12273: Only build and test on 22.04 if we're not using precompiled assets as we only build artifacts on 20.04 at the moment. Should be fixed with docker + 22.04 support * #12273: Use fromJSON triclk * #12273: Combine expression and use in both places * #12273: Fix typos for build-and-test-wheels * #12273: Damn man can't write node eh * Revert "#12273: Add push trigger for this branch" This reverts commit e1dc1ae.
- Loading branch information
Showing
6 changed files
with
71 additions
and
39 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "[post-commit] Python wheels build and test" | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
from-precompiled: | ||
description: "Use precompiled assets for wheel build" | ||
default: True | ||
type: boolean | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
build-artifact: | ||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.from-precompiled }} | ||
uses: ./.github/workflows/build-artifact.yaml | ||
secrets: inherit | ||
build-and-test-wheels: | ||
needs: build-artifact | ||
if: ${{ always() }} | ||
uses: ./.github/workflows/_build-and-test-wheels-impl.yaml | ||
with: | ||
from-precompiled: ${{ github.event_name == 'workflow_dispatch' && inputs.from-precompiled }} |
This file contains 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