aliyun-cli icon indicating copy to clipboard operation
aliyun-cli copied to clipboard

Add RISC-V Host Support

Open akifejaz opened this issue 4 months ago • 4 comments

TL;DR

Add RISC-V native build and release CI files.
Tested on Milk-V Pioneer Box. Logs are available here.


Details

As this tool is written in go which is already ported on RISC-V so, I had no issue compiling this natively for RISC-V. I've added the build and release CI files in this PR, which I tested on Milk-V Pioneer Box. Please review the build logs here

I'm using GitHub CI Runner from Cloud-V, please see the registration page here.

Notes

I'm Akif from @10xEngineers working as part of official RISC-V Lab Partner (Cloud-V). I'm mainly working on increasing the SW support for RISC-V and with that intention I'm creating this PR, hoping to get this merged and have release from aliyun for RISC-V too.

  • Please review the PR and logs
  • I can provide access to RISC-V hardware if maintainers would like to enable official releases for riscv64.

akifejaz avatar Sep 02 '25 11:09 akifejaz

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 02 '25 11:09 CLAassistant

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 82.35%. Comparing base (b171682) to head (c8c632a). :warning: Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1260   +/-   ##
=======================================
  Coverage   82.35%   82.35%           
=======================================
  Files          48       48           
  Lines        5113     5113           
=======================================
  Hits         4211     4211           
  Misses        700      700           
  Partials      202      202           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Sep 03 '25 09:09 codecov-commenter

@akifejaz The job has exceeded the maximum execution time while awaiting a runner for 24h0m0s , github actions run failed.

CodeSpaceiiii avatar Sep 08 '25 01:09 CodeSpaceiiii

@akifejaz The job has exceeded the maximum execution time while awaiting a runner for 24h0m0s , github actions run failed.

yes, it is waiting for self-hosted machine.

We need RISC-V machine for this and I've proposed to use the native RISC-V machine from Cloud-V which is official RISC-V Lab partner.

For this I would like owners of this repo. to register the runner by filling this form here. OR just share with me the GitHub Token for this repo.

You can get the Token by going to setting in this repo. then Actions -> Runners -> New Self Hosted Runner and at the end under Configure copy the token and email this to [email protected].

Please let me know if you face any issue registering.

akifejaz avatar Sep 08 '25 05:09 akifejaz