[compiler] fix typo #1095
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |