Bump IREE to 3.12.0rc20260525
#457
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
| # Copyright 2025 Advanced Micro Devices, Inc. | |
| # | |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. | |
| # See https://llvm.org/LICENSE.txt for license information. | |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| name: Flake test - fusilli | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| - bump-iree/* | |
| - bump-therock/* | |
| permissions: | |
| contents: read | |
| env: | |
| # Configure the number of times to run each test to detect flakes | |
| FLAKE_TEST_ITERATIONS: 20 | |
| concurrency: | |
| # A PR number if a pull request and otherwise the commit hash. This cancels | |
| # queued and in-progress runs for the same PR (presubmit) or commit | |
| # (postsubmit). The workflow name is prepended to avoid conflicts between | |
| # different workflows. | |
| group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| flake-test: | |
| name: "${{ matrix.name }}" | |
| runs-on: ${{ startsWith(matrix.name, 'gpu') && 'linux-mi325-1gpu-ossci-iree-org' || 'azure-linux-scale' }} | |
| env: | |
| AMD_ARCH: ${{ startsWith(matrix.name, 'gpu') && 'gfx942' || '' }} | |
| timeout-minutes: 60 | |
| defaults: | |
| run: | |
| # --noprofile skips loading ~/.bash_profile | |
| # --norc skips loading ~/.bashrc | |
| # -exo pipefail: | |
| # -e exit immediately if any command fails | |
| # -x print each command before executing | |
| # -o pipefail ensure pipeline fails if any command in it fails | |
| # {0} github actions placeholder for the command to run | |
| shell: bash --noprofile --norc -exo pipefail {0} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: cpu-debug | |
| parallel: "" | |
| - name: gpu-debug | |
| parallel: "--parallel 16" | |
| steps: | |
| - name: "Checkout fusilli" | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: "Build fusilli" | |
| run: | | |
| build_tools/docker/exec_docker_ci.sh \ | |
| build_tools/scripts/build.sh ${{ matrix.name }} \ | |
| --iree-source-dir /workspace/.cache/docker/iree | |
| - name: "Flake test (libIREECompiler CAPI)" | |
| run: | | |
| build_tools/docker/exec_docker_ci.sh \ | |
| build_tools/scripts/test.sh --backend capi ${{ matrix.parallel }} --validate-cache-cleanup \ | |
| --repeat ${{ env.FLAKE_TEST_ITERATIONS }} | |
| - name: "Flake test (iree-compile CLI)" | |
| run: | | |
| build_tools/docker/exec_docker_ci.sh \ | |
| build_tools/scripts/test.sh --backend cli ${{ matrix.parallel }} --validate-cache-cleanup \ | |
| --repeat ${{ env.FLAKE_TEST_ITERATIONS }} | |
| # Depends on all other jobs to provide an aggregate job status. | |
| flake_test_summary: | |
| if: always() | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| needs: | |
| - flake-test | |
| steps: | |
| - name: "Getting failed jobs" | |
| run: | | |
| echo '${{ toJson(needs) }}' | |
| FAILED_JOBS="$(echo '${{ toJson(needs) }}' \ | |
| | jq --raw-output \ | |
| 'map_values(select(.result!="success" and .result!="skipped")) | keys | join(",")' \ | |
| )" | |
| if [[ "${FAILED_JOBS}" != "" ]]; then | |
| echo "The following jobs failed: ${FAILED_JOBS}" | |
| exit 1 | |
| fi |