Skip to content

Commit bca0fc0

Browse files
committed
Use ubuntu 22 for CI
1 parent 8c64507 commit bca0fc0

22 files changed

+31
-31
lines changed

Diff for: .github/workflows/build-ci-container.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
build-ci-container:
2323
if: github.repository_owner == 'llvm'
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-22.04
2525
permissions:
2626
packages: write
2727
steps:

Diff for: .github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ on:
4949
jobs:
5050
check-docs-build:
5151
name: "Test documentation build"
52-
runs-on: ubuntu-latest
52+
runs-on: ubuntu-22.04
5353
if: github.repository == 'llvm/llvm-project'
5454
steps:
5555
# Don't fetch before checking for file changes to force the file changes

Diff for: .github/workflows/issue-release-workflow.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ env:
3232
jobs:
3333
backport-commits:
3434
name: Backport Commits
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-22.04
3636
if: >-
3737
(github.repository == 'llvm/llvm-project') &&
3838
!startswith(github.event.comment.body, '<!--IGNORE-->') &&
@@ -66,7 +66,7 @@ jobs:
6666
6767
create-pull-request:
6868
name: Create Pull Request
69-
runs-on: ubuntu-latest
69+
runs-on: ubuntu-22.04
7070
if: >-
7171
(github.repository == 'llvm/llvm-project') &&
7272
!startswith(github.event.comment.body, '<!--IGNORE-->') &&

Diff for: .github/workflows/issue-subscriber.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
auto-subscribe:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414
if: github.repository == 'llvm/llvm-project'
1515
steps:
1616
- name: Checkout Automation Script

Diff for: .github/workflows/libclang-abi-tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ concurrency:
2727
jobs:
2828
abi-dump-setup:
2929
if: github.repository_owner == 'llvm'
30-
runs-on: ubuntu-latest
30+
runs-on: ubuntu-22.04
3131
outputs:
3232
BASELINE_REF: ${{ steps.vars.outputs.BASELINE_REF }}
3333
ABI_HEADERS: ${{ steps.vars.outputs.ABI_HEADERS }}
@@ -83,7 +83,7 @@ jobs:
8383
abi-dump:
8484
if: github.repository_owner == 'llvm'
8585
needs: abi-dump-setup
86-
runs-on: ubuntu-latest
86+
runs-on: ubuntu-22.04
8787
strategy:
8888
matrix:
8989
name:
@@ -137,7 +137,7 @@ jobs:
137137

138138
abi-compare:
139139
if: github.repository_owner == 'llvm'
140-
runs-on: ubuntu-latest
140+
runs-on: ubuntu-22.04
141141
needs:
142142
- abi-dump-setup
143143
- abi-dump

Diff for: .github/workflows/libclang-python-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ jobs:
4343
projects: clang
4444
# There is an issue running on "windows-2019".
4545
# See https://github.com/llvm/llvm-project/issues/76601#issuecomment-1873049082.
46-
os_list: '["ubuntu-latest"]'
46+
os_list: '["ubuntu-22.04"]'
4747
python_version: ${{ matrix.python-version }}

Diff for: .github/workflows/libcxx-check-generated-files.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
check_generated_files:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- name: Fetch LLVM sources
1515
uses: actions/checkout@v4

Diff for: .github/workflows/llvm-bugs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
auto-subscribe:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
if: github.repository == 'llvm/llvm-project'
1616
steps:
1717
- uses: actions/setup-node@v3

Diff for: .github/workflows/llvm-project-tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
required: false
1515
os_list:
1616
required: false
17-
default: '["ubuntu-latest", "windows-2019", "macOS-13"]'
17+
default: '["ubuntu-22.04", "windows-2019", "macOS-13"]'
1818
python_version:
1919
required: false
2020
type: string
@@ -39,7 +39,7 @@ on:
3939
type: string
4040
# Use windows-2019 due to:
4141
# https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317
42-
default: '["ubuntu-latest", "windows-2019", "macOS-13"]'
42+
default: '["ubuntu-22.04", "windows-2019", "macOS-13"]'
4343

4444
python_version:
4545
required: false
@@ -66,7 +66,7 @@ jobs:
6666
fail-fast: false
6767
matrix:
6868
os:
69-
- ubuntu-latest
69+
- ubuntu-22.04
7070
# Use windows-2019 due to:
7171
# https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317
7272
- windows-2019

Diff for: .github/workflows/llvm-tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656

5757
abi-dump-setup:
5858
#if: github.repository_owner == 'llvm'
59-
runs-on: ubuntu-latest
59+
runs-on: ubuntu-22.04
6060
outputs:
6161
BASELINE_REF: ${{ steps.vars.outputs.BASELINE_REF }}
6262
ABI_HEADERS: ${{ steps.vars.outputs.ABI_HEADERS }}
@@ -100,7 +100,7 @@ jobs:
100100
abi-dump:
101101
#if: github.repository_owner == 'llvm'
102102
needs: abi-dump-setup
103-
runs-on: ubuntu-latest
103+
runs-on: ubuntu-22.04
104104
strategy:
105105
matrix:
106106
name:
@@ -170,7 +170,7 @@ jobs:
170170

171171
abi-compare:
172172
#if: github.repository_owner == 'llvm'
173-
runs-on: ubuntu-latest
173+
runs-on: ubuntu-22.04
174174
needs:
175175
- abi-dump-setup
176176
- abi-dump

Diff for: .github/workflows/new-issues.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
automate-issues-labels:
1111
permissions:
1212
issues: write
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414
if: github.repository == 'llvm/llvm-project'
1515
steps:
1616
- uses: llvm/actions/issue-labeler@main

Diff for: .github/workflows/new-prs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
greeter:
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-22.04
2020
permissions:
2121
pull-requests: write
2222
# Only comment on PRs that have been opened for the first time, by someone
@@ -56,7 +56,7 @@ jobs:
5656
automate-prs-labels:
5757
# Greet first so that only the author gets that notification.
5858
needs: greeter
59-
runs-on: ubuntu-latest
59+
runs-on: ubuntu-22.04
6060
# Ignore PRs with more than 10 commits. Pull requests with a lot of
6161
# commits tend to be accidents usually when someone made a mistake while trying
6262
# to rebase. We want to ignore these pull requests to avoid excessive

Diff for: .github/workflows/pr-code-format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
code_formatter:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313
if: github.repository == 'llvm/llvm-project'
1414
steps:
1515
- name: Fetch LLVM sources

Diff for: .github/workflows/pr-request-release-note.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
github.repository_owner == 'llvm' &&
1616
startsWith(github.ref, 'refs/heads/release')
1717
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
steps:
2020
# We need to pull the script from the main branch, so that we ensure
2121
# we get the latest version of this script.

Diff for: .github/workflows/pr-subscriber.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
auto-subscribe:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414
if: github.repository == 'llvm/llvm-project'
1515
steps:
1616
- name: Checkout Automation Script

Diff for: .github/workflows/release-documentation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
jobs:
3030
release-documentation:
3131
name: Build and Upload Release Documentation
32-
runs-on: ubuntu-latest
32+
runs-on: ubuntu-22.04
3333
env:
3434
upload: ${{ inputs.upload && !contains(inputs.release-version, 'rc') }}
3535
steps:

Diff for: .github/workflows/release-doxygen.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
jobs:
3030
release-doxygen:
3131
name: Build and Upload Release Doxygen
32-
runs-on: ubuntu-latest
32+
runs-on: ubuntu-22.04
3333
permissions:
3434
contents: write
3535
env:

Diff for: .github/workflows/release-lit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
release-lit:
2323
name: Release Lit
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-22.04
2525
steps:
2626
- name: Checkout LLVM
2727
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

Diff for: .github/workflows/release-tasks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
validate-tag:
1414
name: Validate Tag
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-22.04
1616
if: github.repository == 'llvm/llvm-project'
1717
outputs:
1818
release-version: ${{ steps.validate-tag.outputs.release-version }}
@@ -26,7 +26,7 @@ jobs:
2626
2727
release-create:
2828
name: Create a New Release
29-
runs-on: ubuntu-latest
29+
runs-on: ubuntu-22.04
3030
needs: validate-tag
3131

3232
steps:

Diff for: .github/workflows/scorecard.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121
jobs:
2222
analysis:
2323
name: Scorecard analysis
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-22.04
2525
if: github.repository == 'llvm/llvm-project'
2626
permissions:
2727
# Needed to upload the results to code-scanning dashboard.

Diff for: .github/workflows/spirv-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
build_target: check-llvm-codegen-spirv
2727
projects:
2828
extra_cmake_args: '-DLLVM_TARGETS_TO_BUILD="" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="SPIRV"'
29-
os_list: '["ubuntu-latest"]'
29+
os_list: '["ubuntu-22.04"]'

Diff for: .github/workflows/version-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
jobs:
1515
version_check:
1616
if: github.repository_owner == 'llvm'
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
1818
steps:
1919
- name: Fetch LLVM sources
2020
uses: actions/checkout@v4

0 commit comments

Comments
 (0)