Skip to content

[TheRock CI] Adding windows build for TheRock CI#315

Merged
geomin12 merged 14 commits into
developfrom
users/geomin12/adding-windows-therockci
Jun 30, 2025
Merged

[TheRock CI] Adding windows build for TheRock CI#315
geomin12 merged 14 commits into
developfrom
users/geomin12/adding-windows-therockci

Conversation

@geomin12
Copy link
Copy Markdown
Collaborator

@geomin12 geomin12 commented Jun 20, 2025

In order to get a signal that windows builds work for monorepo, we are adding build only for gfx1100 (tests are failing)

Build working here

Closes TheRock 665

@geomin12 geomin12 marked this pull request as ready for review June 21, 2025 04:18
@geomin12 geomin12 changed the title [TheRock CI] Adding windows build and test for TheRock CI [TheRock CI] Adding windows build for TheRock CI Jun 23, 2025
@geomin12 geomin12 requested review from ScottTodd and marbre June 23, 2025 15:22
Comment thread .github/workflows/therock-ci-windows.yml
Comment thread .github/workflows/therock-ci-windows.yml
Comment thread .github/workflows/therock-ci-windows.yml Outdated
Comment thread .github/workflows/therock-ci-windows.yml
Comment thread .github/workflows/therock-ci.yml Outdated
@geomin12 geomin12 requested a review from ScottTodd June 30, 2025 18:41
Comment thread .github/workflows/therock-ci.yml Outdated
Comment thread .github/workflows/therock-ci-windows.yml
@geomin12 geomin12 requested a review from ScottTodd June 30, 2025 22:49
@geomin12 geomin12 merged commit 5c13c00 into develop Jun 30, 2025
4 checks passed
@geomin12 geomin12 deleted the users/geomin12/adding-windows-therockci branch June 30, 2025 23:25
amd-chrissosa added a commit that referenced this pull request Jul 1, 2025
amd-chrissosa added a commit that referenced this pull request Jul 1, 2025
Comment on lines +44 to +53
- name: "Checking out repository for rocm-libraries"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: ${{ github.repository }}
ref: refs/pull/${{ github.event.pull_request.number }}/merge
sparse-checkout: |
.github
${{ inputs.subtree_checkout }}
fetch-depth: 0 # Needed for subtree splitting
token: ${{ steps.generate-token.outputs.token }}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR broke postsubmit and was reverted: #467. See logs at https://github.com/ROCm/rocm-libraries/actions/runs/15988190629/job/45096452132#step:3:55

Fetching the repository
  "C:\Program Files\Git\cmd\git.exe" -c protocol.version=2 fetch --prune --no-recurse-submodules --filter=blob:none origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/* +refs/pull//merge:refs/remotes/pull//merge
  Error: fatal: invalid refspec '+refs/pull//merge:refs/remotes/pull//merge'
  The process 'C:\Program Files\Git\cmd\git.exe' failed with exit code 128

The checkout code here should instead match what is on Linux:

- name: "Checking out repository for rocm-libraries"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
sparse-checkout: |
.github
${{ inputs.subtree_checkout }}
token: ${{ steps.generate-token.outputs.token }}

Without the ref: refs/pull/${{ github.event.pull_request.number }}/merge

@amd-chrissosa
Copy link
Copy Markdown
Contributor

As Scott noted I had to revert this one. May be good to also ensure we get the build part in presubmit as part of the PR

geomin12 added a commit that referenced this pull request Jul 7, 2025
In order to get a signal that windows builds work for monorepo, we are
adding build only for gfx1100 (tests are failing)

[Build working
here](https://github.com/ROCm/rocm-libraries/actions/runs/15980485092/job/45073555378?pr=315)

Closes [TheRock 665](ROCm/TheRock#665)
geomin12 pushed a commit that referenced this pull request Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Need to be able to build and test a subset of theRock cmake

3 participants