Skip to content

Conversation

@yuzibo
Copy link

@yuzibo yuzibo commented Jan 9, 2026

No description provided.

@yuzibo yuzibo force-pushed the add-self-hosted-on-riscv64 branch from b174918 to 0e95c55 Compare January 9, 2026 12:35
@yuzibo
Copy link
Author

yuzibo commented Jan 9, 2026

To address the issue.

I left some comments on there, please review it also

rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
test-riscv64gc-native:
Copy link
Author

Choose a reason for hiding this comment

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

This is the best solution I can think of for easy maintenance of this separate job. Although I'm not satisfied with the riscv64 job occupying a separate block. It would be better under one block like Running on self hosted runner which has the same level with matrix block.?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think you could probably add this under the test block pretty easily since a lot of the jobs are shared. Setting os: [self-hosted, linux, riscv64] should work, and for any step that doesn't need to run you can add/update if: !contains(matrix.os, "self-hosted")

mv /tmp/.buildx-cache-new /tmp/.buildx-cache
test-riscv64gc-native:
name: Build and test (riscv64gc-unknown-linux-gnu self-hosted, experimental)
Copy link
Author

Choose a reason for hiding this comment

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

Let us focus on riscv64gc-unknown-linux-gnu first and other target triple we will to also support, like rva23 triple.

The experimental tag as it is.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just starting with one is great 👍

- name: Download musl source
run: |
sed -i 's|https://github.com/kraj/musl.git|https://community-ci.openruyi.cn/others/kraj-musl.git|g' ./ci/update-musl.sh
Copy link
Author

Choose a reason for hiding this comment

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

I hope these sed usages can be accepted in order to speed up the whole workflow. And this clearly demonstrates what we did.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is the speed difference that significant? I'd rather not use the mirrors if possible to reduce the possible points of failure or things that could get out of sync.

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.

2 participants