Skip to content

verification triggered by label #2

verification triggered by label

verification triggered by label #2

Workflow file for this run

name: Verification
# Run when manually triggered or when a PR is labeled with 'run-verification'
on:
workflow_dispatch:
pull_request:
types: [labeled]
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Verification Check
runs-on: ubuntu-latest
# Only run on labeled PRs if the label is 'run-verification'
if: github.event_name == 'workflow_dispatch' || github.event.label.name == 'run-verification'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install verus toolchains
run: ./scripts/vinstall.sh
- name: Format spec/proof code
run: |
verusfmt --check `find ./ -name *.verus.rs` --verus-only
- name: Verify svsm with verus
run: cargo verify
working-directory: kernel
- name: Verify extra proof libs with verus
run: cargo verify
working-directory: verify_proof