Skip to content

GitHub Actions Self-Hosted runner for RISC-V

Notifications You must be signed in to change notification settings

dkurt/github_actions_riscv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

GitHub Actions on RISC-V

This repository provides a guide on how to build and use GitHub Actions (GitHub CI) on Self-Hosted RISC-V CPU machines.

Disclaimer: this project is not related to GitHub or .NET development. Any instructions or binary packages published in the spirit of the open source. Use carefully.

How to use

Use a pre-compiled version or follow the build steps from build.yaml. Cross-compilation is not supported for now so build process is performed on RISC-V board which takes about 1 hour.

After unpacking the runner archive, install .NET:

cd $HOME
wget https://github.com/dkurt/dotnet_riscv/releases/download/v8.0.101/dotnet-sdk-8.0.101-linux-riscv64.tar.gz

sudo mkdir /usr/share/dotnet
cd /usr/share/dotnet
sudo tar -xf $HOME/dotnet-sdk-8.0.101-linux-riscv64.tar.gz

Verify .NET installation:

./dotnet --info

Then do ./config.sh and ./run.sh as recommended in your repository Settings->Actions->Runners->New self-hosted runner tab.

Runner was tested on:

Board OS Comment
MangoPi MQ-Pro Ubuntu 23.10
Sipeed Lichee RV Dock Ubuntu 23.10
Sipeed Lichee Pi 4A
Sipeed Lichee RV Dock 20211230_LicheeRV_debian_d1_hdmi_8723ds.7z Use GCC version ot .NET because of fence.tso hardware bug