Skip to content

Commit

Permalink
[RISC-V] Add RISC-V CI (#85289)
Browse files Browse the repository at this point in the history
- Add RISC-V Checked Build CI
- #84834
  • Loading branch information
clamp03 authored Apr 25, 2023
1 parent 2e0033c commit 277a28d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
22 changes: 22 additions & 0 deletions eng/pipelines/common/platform-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,28 @@ jobs:
crossBuild: true
${{ insert }}: ${{ parameters.jobParameters }}

# Linux RISCV64

- ${{ if containsValue(parameters.platforms, 'linux_riscv64') }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
variables: ${{ parameters.variables }}
osGroup: linux
archType: riscv64
targetRid: linux-riscv64
platform: linux_riscv64
shouldContinueOnError: ${{ parameters.shouldContinueOnError }}
container: linux_riscv64
jobParameters:
runtimeFlavor: ${{ parameters.runtimeFlavor }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
crossBuild: true
disableClrTest: true
${{ insert }}: ${{ parameters.jobParameters }}

# WASI WebAssembly

- ${{ if containsValue(parameters.platforms, 'wasi_wasm') }}:
Expand Down
5 changes: 5 additions & 0 deletions eng/pipelines/common/templates/pipeline-with-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ resources:
env:
ROOTFS_DIR: /crossrootfs/ppc64le

- container: linux_riscv64
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-riscv64
env:
ROOTFS_DIR: /crossrootfs/riscv64

- container: debian-11-gcc12-amd64
image: mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-gcc12-amd64

Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ extends:
- linux_x64
- linux_arm
- linux_arm64
- linux_riscv64
- linux_musl_arm
- linux_musl_arm64
- linux_musl_x64
Expand Down

0 comments on commit 277a28d

Please sign in to comment.