[ci] move llvm_path to prepare.sh, remove environment, add daily ci (… #254
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: [push, pull_request, workflow_dispatch] | |
jobs: | |
clang-format-check: | |
runs-on: self-hosted | |
steps: | |
- name: Clear workspace | |
run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- 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 |