Skip to content

build: improve hvisor-tool cross-build compatibility and ivc kernel A… #239

build: improve hvisor-tool cross-build compatibility and ivc kernel A…

build: improve hvisor-tool cross-build compatibility and ivc kernel A… #239

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
jobs:
code-check:
name: code style check
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Check code style
shell: bash
run: |
set -e
pip install clang-format==14.0.6
find ./tools/ ./include/ ./driver/ -name "*.c" ! -name "*.mod.c" -o -name "*.h" | xargs clang-format -n --Werror
echo "Code style check passed"