[pull] master from phate:master #425
This file contains hidden or 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: ClangTidy | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| CheckTidy: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: "Install clang tidy" | |
| uses: ./.github/actions/InstallPackages | |
| with: | |
| install-clang-tidy: true | |
| install-gtest: true # Required for unit tests | |
| - name: "Install HLS dialect dependencies" | |
| uses: ./.github/actions/BuildCirct | |
| - name: "Install MLIR dialect dependencies" | |
| uses: ./.github/actions/BuildMlirDialect | |
| - name: "Configure jlm with HLS and MLIR enabled" | |
| run: ./configure.sh --enable-mlir=${{ github.workspace }}/build-mlir/usr --enable-hls=${{ github.workspace }}/build-circt/circt | |
| - name: "Run clang tidy" | |
| run: make tidy |