Skip to content

vm_cpu: Eliminate hgatp and vsatp mismatch #1104

vm_cpu: Eliminate hgatp and vsatp mismatch

vm_cpu: Eliminate hgatp and vsatp mismatch #1104

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Rivos Inc.
#
# SPDX-License-Identifier: Apache-2.0
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Check all commits build
if: ${{ github.event_name == 'pull_request' }}
run: |
set -e
commits=$(git rev-list --reverse origin/${{ github.base_ref }}..${{ github.sha }})
for commit in $commits; do git checkout $commit; bazel build //:salus-all; done
- name: Build
run: bazel build //:salus-all
- name: Lint
run: bazel build //:clippy-all
- name: Format
run: bazel test //:rustfmt-all
- name: Run tests
run: bazel test //:test-all
- name: Copy bins
run: mkdir test-bins && cp bazel-bin/salus test-bins/ && cp bazel-bin/test-workloads/tellus_guestvm test-bins/
- name: QEMU test
uses: rivosinc/rivos-run-salus-qemu@v1