Skip to content

Commit 9bb3a0a

Browse files
authored
Create build.yaml
1 parent d0b91b5 commit 9bb3a0a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build RISC-V runner
2+
3+
on: [workflow_dispatch, pull_request]
4+
5+
jobs:
6+
run:
7+
runs-on: self-hosted
8+
9+
steps:
10+
- name: Clone repositories
11+
run: |
12+
git clone -b dkurt/riscv64_runner https://github.com/dkurt/runner --depth 1
13+
14+
- name: Download .NET
15+
run: |
16+
wget https://github.com/dkurt/dotnet_riscv/releases/download/v8.0.101/dotnet-sdk-8.0.101-linux-riscv64.tar.gz
17+
18+
- name: Prepare
19+
run: |
20+
cd runner
21+
mkdir -p _dotnetsdk/8.0.101
22+
cd _dotnetsdk/8.0.101
23+
tar -xf ${{ github.workspace }}/dotnet-sdk-8.0.101-linux-riscv64.tar.gz
24+
25+
- name: Build
26+
run: |
27+
cd runner/src
28+
./dev.sh layout Release linux-riscv64
29+

0 commit comments

Comments
 (0)