[BPF] TableGen-erate SDNode descriptions (#166499) #8
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: Build CI Tooling Containers | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/build-ci-container-tooling.yml | |
| - '.github/workflows/containers/github-action-ci-tooling/**' | |
| - llvm/utils/git/requirements_formatting.txt | |
| - llvm/utils/git/requirements_linting.txt | |
| - '.github/workflows/build-container/**' | |
| - '.github/workflows/push-container/**' | |
| pull_request: | |
| paths: | |
| - .github/workflows/build-ci-container-tooling.yml | |
| - '.github/workflows/containers/github-action-ci-tooling/**' | |
| - llvm/utils/git/requirements_formatting.txt | |
| - llvm/utils/git/requirements_linting.txt | |
| - '.github/workflows/build-container/**' | |
| - '.github/workflows/push-container/**' | |
| jobs: | |
| build-ci-container-tooling: | |
| name: Build Container ${{ matrix.container-name }} | |
| if: github.repository_owner == 'llvm' | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - container-name: code-format | |
| test-command: 'cd $HOME && clang-format --version | grep version && git-clang-format -h | grep usage && black --version | grep black' | |
| - container-name: code-lint | |
| test-command: 'cd $HOME && clang-tidy --version | grep version && clang-tidy-diff.py -h | grep usage' | |
| steps: | |
| - name: Checkout LLVM | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| sparse-checkout: | | |
| .github/workflows/containers/github-action-ci-tooling/ | |
| llvm/utils/git/requirements_formatting.txt | |
| llvm/utils/git/requirements_linting.txt | |
| clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py | |
| .github/workflows/build-container | |
| - name: Build Container | |
| uses: ./.github/workflows/build-container | |
| with: | |
| container-name: ci-ubuntu-24.04-${{ matrix.container-name }} | |
| dockerfile: .github/workflows/containers/github-action-ci-tooling/Dockerfile | |
| target: ci-container-${{ matrix.container-name }} | |
| test-command: ${{ matrix.test-command }} | |
| push-ci-container: | |
| if: github.event_name == 'push' | |
| needs: | |
| - build-ci-container-tooling | |
| permissions: | |
| packages: write | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout LLVM | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| sparse-checkout: | | |
| .github/workflows/push-container | |
| - uses: ./.github/workflows/push-container | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} |