Skip to content

To support CI job on riscv64 self hosted runner#1059

Open
yuzibo wants to merge 1 commit intorust-lang:mainfrom
yuzibo:add-self-hosted-on-riscv64
Open

To support CI job on riscv64 self hosted runner#1059
yuzibo wants to merge 1 commit intorust-lang:mainfrom
yuzibo:add-self-hosted-on-riscv64

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


- 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.

Copy link
Author

@yuzibo yuzibo Jan 11, 2026

Choose a reason for hiding this comment

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

Yes, this is one of the feasible solutions we can implement.

On the self-hosted riscv64 runners, outbound access to some upstream services can be intermittently unstable due to external network factors, which may occasionally affect CI reliability before the actual build or tests start from my experimental. In fact,localized mirror services were included as an initial goal of this project to ensure the stability of CI.

Regarding the risk of mirrors getting out of sync: these mirrors are actively maintained and have a daily synchronization mechanism to track upstream changes, along with basic health checks to ensure they remain usable. This helps reduce the risk of silent divergence.

We do not publish our mirror service in case other users abuse it to affect the stability of our CI, if necessary, we can publish it after our internal assessment.

Using these Prepare mirrored sources with sed is a more transparent approach than using a cached solution, which increases complexity. But for r-l/r, we have to depend on lots of cache strategy, If we get to that point.

@yuzibo yuzibo force-pushed the add-self-hosted-on-riscv64 branch from 0e95c55 to b96d13f Compare January 11, 2026 14:56
@yuzibo yuzibo changed the title Draft to support CI job on riscv64 self hosted To support CI job on riscv64 self hosted Jan 11, 2026
@yuzibo yuzibo changed the title To support CI job on riscv64 self hosted To support CI job on riscv64 self hosted runner Jan 12, 2026
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