-
Notifications
You must be signed in to change notification settings - Fork 3
feat(ci): Add Multi-Arch Release ASAN workflow #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+75
−0
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| name: Multi-Arch Release ASAN | ||
|
|
||
| # Expected triggers: | ||
| # | ||
| # Release type | Trigger details | ||
| # ------------ | -------------------------------------------------------------- | ||
| # dev | "workflow_dispatch" for testing with any set of inputs | ||
| # nightly | "schedule", or "workflow_dispatch" as needed (default inputs) | ||
| # prerelease | "workflow_dispatch" for stable releases (explicit GPU family lists?) | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| release_type: | ||
| description: 'Release type: "dev", "nightly", or "prerelease".' | ||
| type: choice | ||
| options: | ||
| - dev | ||
| - nightly | ||
| - prerelease | ||
| default: dev | ||
| prerelease_version: | ||
| description: "(Optional) Prerelease version number, e.g. '2' for 7.10.0rc2" | ||
| type: string | ||
| default: "" | ||
| linux_amdgpu_families: | ||
| description: 'Linux GPU families. "all" = all, "none" = skip Linux.' | ||
| type: string | ||
| default: "all" | ||
| ref: | ||
| description: "TheRock branch, tag, or SHA. Empty = default branch." | ||
| type: string | ||
| default: "" | ||
| run_full_pytorch_tests: | ||
| description: "Run full PyTorch tests after scheduled nightly Linux PyTorch wheel builds complete." | ||
| type: boolean | ||
| default: false | ||
| build_pytorch: | ||
| description: "Build PyTorch wheels" | ||
| type: boolean | ||
| default: true | ||
| python_version: | ||
| description: "Single Python version for wheel builds (empty for full matrix)" | ||
| type: string | ||
| default: "" | ||
|
|
||
| # Trigger on a schedule to build nightly releases. | ||
| schedule: | ||
| # Runs at 12:00 AM UTC, which is 5:00 PM PDT (UTC-7) | ||
| - cron: '0 00 * * *' | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| run-name: >- | ||
| Multi-Arch Release ASAN (${{ inputs.release_type || 'nightly' }}) | ||
| | Linux: ${{ inputs.linux_amdgpu_families || 'all' }} | ||
|
|
||
| jobs: | ||
| release: | ||
| uses: ROCm/TheRock/.github/workflows/multi_arch_release_asan.yml@main | ||
| secrets: inherit | ||
| with: | ||
| release_type: ${{ inputs.release_type || 'nightly' }} | ||
| prerelease_version: ${{ inputs.prerelease_version || '' }} | ||
| linux_amdgpu_families: ${{ inputs.linux_amdgpu_families || 'all' }} | ||
| run_full_pytorch_tests: ${{ inputs.run_full_pytorch_tests || github.event_name == 'schedule' }} | ||
| build_pytorch: ${{ inputs.build_pytorch == '' && true || inputs.build_pytorch }} | ||
| python_version: ${{ inputs.python_version || '' }} | ||
| repository: "ROCm/TheRock" | ||
| ref: ${{ inputs.ref || '' }} | ||
| permissions: | ||
| contents: read | ||
| actions: write | ||
| id-token: write | ||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we start later like 10PM or 12AM PDT, so that the normal nightly build and this doesnt conflict
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'll keep this time in order to be consistent with
rockrel/.github/workflows/multi_arch_release.yml
Line 41 in acc1e93