Skip to content

Commit

Permalink
Create build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dkurt authored Jan 18, 2024
1 parent d0b91b5 commit 9bb3a0a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build RISC-V runner

on: [workflow_dispatch, pull_request]

jobs:
run:
runs-on: self-hosted

steps:
- name: Clone repositories
run: |
git clone -b dkurt/riscv64_runner https://github.com/dkurt/runner --depth 1
- name: Download .NET
run: |
wget https://github.com/dkurt/dotnet_riscv/releases/download/v8.0.101/dotnet-sdk-8.0.101-linux-riscv64.tar.gz
- name: Prepare
run: |
cd runner
mkdir -p _dotnetsdk/8.0.101
cd _dotnetsdk/8.0.101
tar -xf ${{ github.workspace }}/dotnet-sdk-8.0.101-linux-riscv64.tar.gz
- name: Build
run: |
cd runner/src
./dev.sh layout Release linux-riscv64

0 comments on commit 9bb3a0a

Please sign in to comment.