Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dkurt/github_actions_riscv
GitHub Actions Self-Hosted runner for RISC-V
https://github.com/dkurt/github_actions_riscv
actions allwinner-d1 ci github mangopi-mq-pro risc-v riscv64 runner self-hosted sipeed
Last synced: 13 days ago
JSON representation
GitHub Actions Self-Hosted runner for RISC-V
- Host: GitHub
- URL: https://github.com/dkurt/github_actions_riscv
- Owner: dkurt
- Created: 2024-01-17T15:09:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-09T06:11:39.000Z (12 months ago)
- Last Synced: 2024-12-30T19:42:36.703Z (22 days ago)
- Topics: actions, allwinner-d1, ci, github, mangopi-mq-pro, risc-v, riscv64, runner, self-hosted, sipeed
- Homepage:
- Size: 16.6 KB
- Stars: 19
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/dkurt/github_actions_riscv/releases) version or follow the build steps from [build.yaml](.github/workflows/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:
```bash
cd $HOME
wget https://github.com/dkurt/dotnet_riscv/releases/download/v8.0.101/dotnet-sdk-8.0.101-linux-riscv64.tar.gzsudo mkdir /usr/share/dotnet
cd /usr/share/dotnet
sudo tar -xf $HOME/dotnet-sdk-8.0.101-linux-riscv64.tar.gz
```Verify .NET installation:
```bash
./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](https://ubuntu.com/download/risc-v) | |
| Sipeed Lichee RV Dock | [Ubuntu 23.10](https://ubuntu.com/download/risc-v) | |
| Sipeed Lichee Pi 4A |||
| Sipeed Lichee RV Dock | [20211230_LicheeRV_debian_d1_hdmi_8723ds.7z](./howto_setup_rvv.md) | Use [GCC version](https://github.com/dkurt/dotnet_riscv/releases) ot .NET because of `fence.tso` hardware bug |