-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[Github] Bump most actions to ubuntu 24.04 #131760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
boomanaiden154
merged 2 commits into
llvm:main
from
boomanaiden154:bump-most-things-24-04-3-81-25
Mar 21, 2025
Merged
[Github] Bump most actions to ubuntu 24.04 #131760
boomanaiden154
merged 2 commits into
llvm:main
from
boomanaiden154:bump-most-things-24-04-3-81-25
Mar 21, 2025
Conversation
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
This patch bumps most of the workflows to ubuntu 24.04, with the exception of worklfows that depend on the CI container, which will need to be updated separately before we are then able to use it for the other workflows.
@llvm/pr-subscribers-github-workflow Author: Aiden Grossman (boomanaiden154) ChangesThis patch bumps most of the workflows to ubuntu 24.04, with the exception of worklfows that depend on the CI container, which will need to be updated separately before we are then able to use it for the other workflows. Full diff: https://github.com/llvm/llvm-project/pull/131760.diff 6 Files Affected:
diff --git a/.github/workflows/build-ci-container.yml b/.github/workflows/build-ci-container.yml
index 1921a3675166d..994435a8973b6 100644
--- a/.github/workflows/build-ci-container.yml
+++ b/.github/workflows/build-ci-container.yml
@@ -27,9 +27,9 @@ jobs:
# The arch names should match the names used on dockerhub.
# See https://github.com/docker-library/official-images#architectures-other-than-amd64
- arch: amd64
- runs-on: depot-ubuntu-22.04-16
+ runs-on: depot-ubuntu-24.04-16
- arch: arm64v8
- runs-on: depot-ubuntu-22.04-arm-16
+ runs-on: depot-ubuntu-24.04-arm-16
steps:
- name: Checkout LLVM
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
diff --git a/.github/workflows/commit-access-greeter.yml b/.github/workflows/commit-access-greeter.yml
index 29a1b578f8af8..ef489b4d3c9a1 100644
--- a/.github/workflows/commit-access-greeter.yml
+++ b/.github/workflows/commit-access-greeter.yml
@@ -15,7 +15,7 @@ jobs:
if: >-
github.repository_owner == 'llvm' &&
github.event.label.name == 'infra:commit-access-request'
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
diff --git a/.github/workflows/commit-access-review.yml b/.github/workflows/commit-access-review.yml
index 5ab0ddd50d241..d401a137737c4 100644
--- a/.github/workflows/commit-access-review.yml
+++ b/.github/workflows/commit-access-review.yml
@@ -12,7 +12,7 @@ permissions:
jobs:
commit-access-review:
if: github.repository_owner == 'llvm'
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
steps:
- name: Fetch LLVM sources
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
diff --git a/.github/workflows/release-asset-audit.yml b/.github/workflows/release-asset-audit.yml
index 018c5d542f32e..8112d8a140810 100644
--- a/.github/workflows/release-asset-audit.yml
+++ b/.github/workflows/release-asset-audit.yml
@@ -19,7 +19,7 @@ permissions:
jobs:
audit:
name: "Release Asset Audit"
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
if: github.repository == 'llvm/llvm-project'
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 #v4.1.6
diff --git a/.github/workflows/release-binaries-all.yml b/.github/workflows/release-binaries-all.yml
index fd4694ebea32d..bfe1b00f51b52 100644
--- a/.github/workflows/release-binaries-all.yml
+++ b/.github/workflows/release-binaries-all.yml
@@ -57,7 +57,7 @@ jobs:
setup-variables:
if: >-
(github.event_name != 'pull_request' || github.event.action != 'closed')
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
outputs:
release-version: ${{ steps.vars.outputs.release-version }}
upload: ${{ steps.vars.outputs.upload }}
@@ -86,8 +86,8 @@ jobs:
fail-fast: false
matrix:
runs-on:
- - ubuntu-22.04
- - ubuntu-22.04-arm
+ - ubuntu-24.04
+ - ubuntu-24.04-arm
- macos-13
- macos-14
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index fd6a6cc931ec4..1dc89c416ed07 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -17,8 +17,8 @@ on:
required: true
type: choice
options:
- - ubuntu-22.04
- - ubuntu-22.04-arm
+ - ubuntu-24.04
+ - ubuntu-24.04-arm
- macos-13
- macos-14
@@ -157,7 +157,7 @@ jobs:
echo "target-cmake-flags=$target_cmake_flags" >> $GITHUB_OUTPUT
echo "build-flang=$build_flang" >> $GITHUB_OUTPUT
case "${{ inputs.runs-on }}" in
- ubuntu-22.04*)
+ ubuntu-24.04*)
build_runs_on="depot-${{ inputs.runs-on }}-16"
test_runs_on=$build_runs_on
;;
@@ -276,7 +276,7 @@ jobs:
if: >-
github.event_name != 'pull_request' &&
needs.prepare.outputs.upload == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
permissions:
contents: write # For release uploads
id-token: write # For artifact attestations
|
tstellar
reviewed
Mar 18, 2025
tstellar
approved these changes
Mar 21, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch bumps most of the workflows to ubuntu 24.04, with the exception of worklfows that depend on the CI container, which will need to be updated separately before we are then able to use it for the other workflows.