-
Notifications
You must be signed in to change notification settings - Fork 293
Help get Geo's workflow working with Marius #71
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
Closed
Closed
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
e400717
Make Geo's PR work correctly (can only work on PRs)
c9ee745
Add a small rocPrim change to test and fix bug
af163ab
Support draft
847c86f
Update on to fire correctly
f586d3c
Merge Marius changes with Geos
b2f5268
small fix
9238cf4
small fix2
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
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,11 +3,25 @@ name: TheRock CI | |||||
| on: | ||||||
| push: | ||||||
| branches: | ||||||
| # Remove later. | ||||||
| - users/geomin12/therock-ci | ||||||
| pull_request: | ||||||
| types: | ||||||
| - opened | ||||||
| - synchronize | ||||||
| - reopened | ||||||
| - ready_for_review | ||||||
| - draft | ||||||
| branches: | ||||||
| # Remove later. | ||||||
| - users/geomin12/therock-ci | ||||||
| #- 'develop' | ||||||
| #- 'staging' | ||||||
| #- 'main' | ||||||
| paths-ignore: | ||||||
| - '.github/**' | ||||||
| - 'docs/**' | ||||||
| - '*.md' | ||||||
|
|
||||||
| permissions: | ||||||
| contents: read | ||||||
|
|
@@ -27,17 +41,29 @@ jobs: | |||||
| outputs: | ||||||
| jobs: ${{ steps.jobs.outputs.jobs }} | ||||||
| steps: | ||||||
| # Checkout the mono-repo which includes the PR. | ||||||
| - name: Checkout rocm-libraries Repository | ||||||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||||||
| with: | ||||||
| repository: "ROCm/rocm-libraries" | ||||||
| path: | ||||||
| rocm-libraries | ||||||
|
|
||||||
| - name: Checkout TheRock Repository | ||||||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||||||
| with: | ||||||
| repository: "ROCm/TheRock" | ||||||
| path: "TheRock" | ||||||
| ref: users/geomin12/monorepo-therock-test | ||||||
| ref: users/sosa/monorepo-therock-test | ||||||
|
|
||||||
| - name: Set up Python | ||||||
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | ||||||
| with: | ||||||
| python-version: '3.12' | ||||||
|
|
||||||
| - name: Patch monorepo | ||||||
| run: | | ||||||
| python TheRock/build_tools/github_actions/patch_monorepo.py \ | ||||||
| --repo rocm-libraries | ||||||
|
|
||||||
| - name: Generate a token | ||||||
| id: generate-token | ||||||
|
|
@@ -47,11 +73,6 @@ jobs: | |||||
| private-key: ${{ secrets.APP_PRIVATE_KEY }} | ||||||
| owner: ${{ github.repository_owner }} | ||||||
|
|
||||||
| - name: Set up Python | ||||||
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | ||||||
| with: | ||||||
| python-version: '3.12' | ||||||
|
|
||||||
| - name: Install python dependencies | ||||||
| run: | | ||||||
| python -m pip install --upgrade pip | ||||||
|
|
@@ -60,13 +81,14 @@ jobs: | |||||
| # get the script, see what PR items there are (or do checkout process or share with Joseph's work) | ||||||
| - name: Detect changed subtrees | ||||||
| id: detect | ||||||
| if: github.event_name == 'pull_request' | ||||||
| env: | ||||||
| GH_TOKEN: ${{ steps.generate-token.outputs.token }} | ||||||
| run: | | ||||||
| python .github/scripts/pr_detect_changed_subtrees.py \ | ||||||
| python rocm-libraries/.github/scripts/pr_detect_changed_subtrees.py \ | ||||||
| --repo "${{ github.repository }}" \ | ||||||
| --pr "${{ github.event.pull_request.number }}" \ | ||||||
| --config ".github/repos-config.json" | ||||||
| --config "rocm-libraries/.github/repos-config.json" | ||||||
|
|
||||||
| - name: Determine jobs to run | ||||||
| id: jobs | ||||||
|
|
@@ -83,11 +105,11 @@ jobs: | |||||
| permissions: | ||||||
| contents: read | ||||||
| id-token: write | ||||||
| uses: ROCm/TheRock/.github/workflows/build_linux_packages.yml@users/geomin12/monorepo-therock-test | ||||||
| uses: ROCm/TheRock/.github/workflows/build_linux_packages.yml@users/sosa/monorepo-therock-test | ||||||
| with: | ||||||
| amdgpu_families: "gfx94X-dcgpu" | ||||||
| expect_failure: false | ||||||
| extra_cmake_options: "-DTHEROCK_ENABLE_PRIM=ON -DTHEROCK_ENABLE_ALL=OFF" | ||||||
| extra_cmake_options: "-DTHEROCK_ENABLE_PRIM=ON -DTHEROCK_ENABLE_ALL=OFF THEROCK_USE_EXTERNAL_ROCM_LIBRARIES=ON THEROCK_ROCM_LIBRARIES_SOURCE_DIR=rocm-libraries" | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This needs
Suggested change
|
||||||
|
|
||||||
| therock-test-linux: | ||||||
| name: "rocPRIM math-lib test" | ||||||
|
|
||||||
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
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.
The location for the script will be
if we don't move it to
github_actions.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 think since this is specific to github actions, we can keep it there!
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.
Let me rephrase: This has never been in a
github_actionssubdirectory and as soon as I merge my PR it will be in the path suggested above.Uh oh!
There was an error while loading. Please reload this page.
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.
Oh apologies, I was looking at the wrong script! but yes, certainly can be an easy change