Skip to content

[onnx-frontend] Update onnx-frontend Readme #1139

[onnx-frontend] Update onnx-frontend Readme

[onnx-frontend] Update onnx-frontend Readme #1139

Workflow file for this run

name: Format Check
on: [pull_request, workflow_dispatch]
jobs:
clang-format-check:
runs-on: self-hosted
container:
image: localhost:5000/byteir-ci
volumes:
- /data00/llvm_libraries:/data00/llvm_libraries
- /data00/mhlo_libraries:/data00/mhlo_libraries
- /data00/external_libraries:/data00/external_libraries
options: --runtime=nvidia --gpus all
steps:
- name: Clear workspace
run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE
- name: Checkout
uses: actions/checkout@v3
- name: install format check
run: python3 -m pip install /data00/mhlo_libraries/formatCheck-1.0-py3-none-any.whl
- name: Run clang-format check
run: ./scripts/clang_format_check.sh
shell: bash
- name: Run other format check
run: python3 ./scripts/format_check.py --dir $GITHUB_WORKSPACE