| # Copyright 2024 The IREE Authors | 
 | # | 
 | # 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: CI - Linux x64 gcc | 
 |  | 
 | on: | 
 |   pull_request: | 
 |     branches: | 
 |       - main | 
 |     paths: | 
 |       - ".github/workflows/ci_linux_x64_gcc.yml" | 
 |   schedule: | 
 |     # Weekday mornings at 09:15 UTC = 01:15 PST (UTC - 8). | 
 |     - cron: "15 9 * * 1-5" | 
 |   workflow_dispatch: | 
 |  | 
 | 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: | 
 |   linux_x64_gcc: | 
 |     runs-on: ubuntu-20.04 | 
 |     env: | 
 |       BUILD_DIR: build-gcc | 
 |     steps: | 
 |       - name: "Checking out repository" | 
 |         uses: actions/checkout@v4.1.7 | 
 |         with: | 
 |           submodules: true | 
 |       - name: "Building IREE with gcc" | 
 |         run: | | 
 |           ./build_tools/github_actions/docker_run.sh \ | 
 |             --env CC=/usr/bin/gcc-9 \ | 
 |             --env CXX=/usr/bin/g++-9 \ | 
 |             --env CMAKE_BUILD_TYPE=Release \ | 
 |             --env "IREE_TARGET_BACKEND_WEBGPU_SPIRV=OFF" \ | 
 |             --env "IREE_BUILD_SETUP_PYTHON_VENV=${BUILD_DIR}/.venv" \ | 
 |             gcr.io/iree-oss/base@sha256:dc314b4fe30fc1315742512891357bffed4d1b62ffcb46258b1e0761c737b446 \ | 
 |             ./build_tools/cmake/build_all.sh \ | 
 |             "${BUILD_DIR}" |