diff --git a/.github/workflows/build-metrics-container.yml b/.github/workflows/build-metrics-container.yml index 7924779fc3f8..af4d599f7641 100644 --- a/.github/workflows/build-metrics-container.yml +++ b/.github/workflows/build-metrics-container.yml @@ -20,7 +20,7 @@ on: jobs: build-metrics-container: if: github.repository_owner == 'llvm' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 outputs: container-name: ${{ steps.vars.outputs.container-name }} container-name-tag: ${{ steps.vars.outputs.container-name-tag }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4cf1c356cfe2..b5f76d761af2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -51,7 +51,7 @@ on: jobs: check-docs-build: name: "Test documentation build" - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: github.repository == 'llvm/llvm-project' steps: # Don't fetch before checking for file changes to force the file changes diff --git a/.github/workflows/email-check.yaml b/.github/workflows/email-check.yaml index 5719203c5f90..f4481d5cf558 100644 --- a/.github/workflows/email-check.yaml +++ b/.github/workflows/email-check.yaml @@ -10,7 +10,7 @@ permissions: jobs: validate_email: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: github.repository == 'llvm/llvm-project' steps: - name: Fetch LLVM sources diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows/issue-release-workflow.yml index 1582d06a97d3..efd045990d01 100644 --- a/.github/workflows/issue-release-workflow.yml +++ b/.github/workflows/issue-release-workflow.yml @@ -32,7 +32,7 @@ env: jobs: backport-commits: name: Backport Commits - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: issues: write pull-requests: write diff --git a/.github/workflows/issue-subscriber.yml b/.github/workflows/issue-subscriber.yml index 2fb8ad18eb0a..de1c45c94496 100644 --- a/.github/workflows/issue-subscriber.yml +++ b/.github/workflows/issue-subscriber.yml @@ -10,7 +10,7 @@ permissions: jobs: auto-subscribe: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: github.repository == 'llvm/llvm-project' steps: - name: Checkout Automation Script diff --git a/.github/workflows/issue-write.yml b/.github/workflows/issue-write.yml index e7583fae5e99..f5c60f51ca21 100644 --- a/.github/workflows/issue-write.yml +++ b/.github/workflows/issue-write.yml @@ -14,7 +14,7 @@ permissions: jobs: pr-comment: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: pull-requests: write if: > diff --git a/.github/workflows/libclang-abi-tests.yml b/.github/workflows/libclang-abi-tests.yml index 8995d52b9925..440af1691dee 100644 --- a/.github/workflows/libclang-abi-tests.yml +++ b/.github/workflows/libclang-abi-tests.yml @@ -27,7 +27,7 @@ concurrency: jobs: abi-dump-setup: if: github.repository_owner == 'llvm' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 outputs: BASELINE_REF: ${{ steps.vars.outputs.BASELINE_REF }} ABI_HEADERS: ${{ steps.vars.outputs.ABI_HEADERS }} @@ -83,7 +83,7 @@ jobs: abi-dump: if: github.repository_owner == 'llvm' needs: abi-dump-setup - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: name: @@ -137,7 +137,7 @@ jobs: abi-compare: if: github.repository_owner == 'llvm' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: - abi-dump-setup - abi-dump diff --git a/.github/workflows/llvm-bugs.yml b/.github/workflows/llvm-bugs.yml index a54e52456e86..5470662c9762 100644 --- a/.github/workflows/llvm-bugs.yml +++ b/.github/workflows/llvm-bugs.yml @@ -11,7 +11,7 @@ on: jobs: auto-subscribe: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: github.repository == 'llvm/llvm-project' steps: - uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml index d857995d325d..3da6743c49e2 100644 --- a/.github/workflows/llvm-project-tests.yml +++ b/.github/workflows/llvm-project-tests.yml @@ -14,7 +14,7 @@ on: required: false os_list: required: false - default: '["ubuntu-latest", "windows-2019", "macOS-13"]' + default: '["ubuntu-24.04", "windows-2019", "macOS-13"]' python_version: required: false type: string @@ -39,7 +39,7 @@ on: type: string # Use windows-2019 due to: # https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317 - # Use ubuntu-22.04 rather than ubuntu-latest to match the ubuntu + # Use ubuntu-22.04 rather than ubuntu-24.04 to match the ubuntu # version in the CI container. Without this, setup-python tries # to install a python version linked against a newer version of glibc. # TODO(boomanaiden154): Bump the Ubuntu version once the version in the diff --git a/.github/workflows/llvm-tests.yml b/.github/workflows/llvm-tests.yml index 2c41368369ce..464b4c726b96 100644 --- a/.github/workflows/llvm-tests.yml +++ b/.github/workflows/llvm-tests.yml @@ -27,7 +27,7 @@ concurrency: jobs: abi-dump-setup: if: github.repository_owner == 'llvm' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 outputs: BASELINE_REF: ${{ steps.vars.outputs.BASELINE_REF }} ABI_HEADERS: ${{ steps.vars.outputs.ABI_HEADERS }} @@ -71,7 +71,7 @@ jobs: abi-dump: if: github.repository_owner == 'llvm' needs: abi-dump-setup - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: name: @@ -141,7 +141,7 @@ jobs: abi-compare: if: github.repository_owner == 'llvm' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: - abi-dump-setup - abi-dump diff --git a/.github/workflows/merged-prs.yml b/.github/workflows/merged-prs.yml index aa559e4b75a7..c77173638980 100644 --- a/.github/workflows/merged-prs.yml +++ b/.github/workflows/merged-prs.yml @@ -13,7 +13,7 @@ on: jobs: buildbot_comment: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: pull-requests: write if: >- diff --git a/.github/workflows/new-issues.yml b/.github/workflows/new-issues.yml index 3cac57e26851..8480a657cc71 100644 --- a/.github/workflows/new-issues.yml +++ b/.github/workflows/new-issues.yml @@ -10,7 +10,7 @@ jobs: automate-issues-labels: permissions: issues: write - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: github.repository == 'llvm/llvm-project' steps: - uses: llvm/actions/issue-labeler@main diff --git a/.github/workflows/new-prs.yml b/.github/workflows/new-prs.yml index 3f042e761601..935598e410db 100644 --- a/.github/workflows/new-prs.yml +++ b/.github/workflows/new-prs.yml @@ -16,7 +16,7 @@ on: jobs: greeter: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: pull-requests: write # Only comment on PRs that have been opened for the first time, by someone @@ -56,7 +56,7 @@ jobs: automate-prs-labels: # Greet first so that only the author gets that notification. needs: greeter - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # Ignore PRs with more than 10 commits. Pull requests with a lot of # commits tend to be accidents usually when someone made a mistake while trying # to rebase. We want to ignore these pull requests to avoid excessive diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows/pr-code-format.yml index a5a5626369bd..0692455ae034 100644 --- a/.github/workflows/pr-code-format.yml +++ b/.github/workflows/pr-code-format.yml @@ -11,7 +11,7 @@ on: jobs: code_formatter: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 30 concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number }} diff --git a/.github/workflows/pr-request-release-note.yml b/.github/workflows/pr-request-release-note.yml index 2fa501dda16b..57425e04ec2f 100644 --- a/.github/workflows/pr-request-release-note.yml +++ b/.github/workflows/pr-request-release-note.yml @@ -14,7 +14,7 @@ jobs: github.repository_owner == 'llvm' && startsWith(github.ref, 'refs/heads/release') - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: # We need to pull the script from the main branch, so that we ensure # we get the latest version of this script. diff --git a/.github/workflows/pr-subscriber.yml b/.github/workflows/pr-subscriber.yml index 0e3d3e04ee93..f558da8a8fe0 100644 --- a/.github/workflows/pr-subscriber.yml +++ b/.github/workflows/pr-subscriber.yml @@ -10,7 +10,7 @@ permissions: jobs: auto-subscribe: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: github.repository == 'llvm/llvm-project' steps: - name: Checkout Automation Script diff --git a/.github/workflows/release-documentation.yml b/.github/workflows/release-documentation.yml index bac500080f90..5a0aa063d32a 100644 --- a/.github/workflows/release-documentation.yml +++ b/.github/workflows/release-documentation.yml @@ -29,7 +29,7 @@ on: jobs: release-documentation: name: Build and Upload Release Documentation - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 env: upload: ${{ inputs.upload && !contains(inputs.release-version, 'rc') }} steps: diff --git a/.github/workflows/release-doxygen.yml b/.github/workflows/release-doxygen.yml index 17d437e3a649..d47c4337c07b 100644 --- a/.github/workflows/release-doxygen.yml +++ b/.github/workflows/release-doxygen.yml @@ -33,7 +33,7 @@ on: jobs: release-doxygen: name: Build and Upload Release Doxygen - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: write env: diff --git a/.github/workflows/release-lit.yml b/.github/workflows/release-lit.yml index 346cf3bf2c46..9adeffb74d52 100644 --- a/.github/workflows/release-lit.yml +++ b/.github/workflows/release-lit.yml @@ -25,7 +25,7 @@ on: jobs: release-lit: name: Release Lit - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout LLVM uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 diff --git a/.github/workflows/release-sources.yml b/.github/workflows/release-sources.yml index a6c86823f99d..99438918b56f 100644 --- a/.github/workflows/release-sources.yml +++ b/.github/workflows/release-sources.yml @@ -47,7 +47,7 @@ jobs: outputs: ref: ${{ steps.inputs.outputs.ref }} export-args: ${{ steps.inputs.outputs.export-args }} - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - id: inputs run: | @@ -63,7 +63,7 @@ jobs: release-sources: name: Package Release Sources if: github.repository_owner == 'llvm' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: - inputs permissions: diff --git a/.github/workflows/release-tasks.yml b/.github/workflows/release-tasks.yml index 52076ea1821b..d55098345d89 100644 --- a/.github/workflows/release-tasks.yml +++ b/.github/workflows/release-tasks.yml @@ -12,7 +12,7 @@ on: jobs: validate-tag: name: Validate Tag - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: github.repository == 'llvm/llvm-project' outputs: release-version: ${{ steps.validate-tag.outputs.release-version }} @@ -26,7 +26,7 @@ jobs: release-create: name: Create a New Release - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: write # For creating the release. needs: validate-tag diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index ff61cf83a6af..db741b640596 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -21,7 +21,7 @@ permissions: jobs: analysis: name: Scorecard analysis - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: github.repository == 'llvm/llvm-project' permissions: # Needed to upload the results to code-scanning dashboard. diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml index 18e21a1a8f29..a0a598094376 100644 --- a/.github/workflows/version-check.yml +++ b/.github/workflows/version-check.yml @@ -14,7 +14,7 @@ permissions: jobs: version_check: if: github.repository_owner == 'llvm' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Fetch LLVM sources uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2