[VPlan] Collect FMFs for in-loop reduction chain in VPlan. (NFC) #1
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 Metrics Container | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/build-metrics-container.yml | |
| - '.ci/metrics/**' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/build-metrics-container.yml | |
| - '.ci/metrics/**' | |
| jobs: | |
| build-metrics-container: | |
| if: github.repository_owner == 'llvm' | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout LLVM | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| sparse-checkout: | | |
| .ci/metrics/ | |
| .github/actions/build-container | |
| - name: Build Container | |
| uses: ./.github/actions/build-container | |
| with: | |
| container-name: metrics | |
| context: .ci/metrics | |
| dockerfile: .ci/metrics/Dockerfile | |
| push-metrics-container: | |
| if: github.event_name == 'push' | |
| needs: | |
| - build-metrics-container | |
| permissions: | |
| packages: write | |
| runs-on: ubuntu-24.04 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - name: Checkout LLVM | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| sparse-checkout: | | |
| .github/actions/push-container | |
| - uses: ./.github/actions/push-container | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} |