Skip to content

Commit f95cd13

Browse files
committed
tools: use clang 21 on GHA
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent f5f115a commit f95cd13

11 files changed

Lines changed: 37 additions & 37 deletions

‎.github/workflows/build-tarball.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ concurrency:
6666
env:
6767
PYTHON_VERSION: '3.14'
6868
FLAKY_TESTS: keep_retrying
69-
CLANG_VERSION: '19'
69+
CLANG_VERSION: '21'
7070
NODE_VERSION: lts/*
7171

7272
permissions:
@@ -102,10 +102,10 @@ jobs:
102102
archive: false
103103
test-tarball-linux:
104104
needs: build-tarball
105-
runs-on: ubuntu-24.04-arm
105+
runs-on: ubuntu-26.04-arm
106106
env:
107-
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
108-
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19
107+
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-21
108+
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-21
109109
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
110110
SCCACHE_IDLE_TIMEOUT: '0'
111111
steps:

‎.github/workflows/coverage-linux-without-intl.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ concurrency:
3636
env:
3737
PYTHON_VERSION: '3.14'
3838
FLAKY_TESTS: keep_retrying
39-
CLANG_VERSION: '19'
40-
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
41-
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19
39+
CLANG_VERSION: '21'
40+
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-21
41+
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-21
4242
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
4343
SCCACHE_IDLE_TIMEOUT: '0'
4444

@@ -48,7 +48,7 @@ permissions:
4848
jobs:
4949
coverage-linux-without-intl:
5050
if: github.event.pull_request.draft == false
51-
runs-on: ubuntu-24.04
51+
runs-on: ubuntu-26.04
5252
steps:
5353
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5454
with:

‎.github/workflows/coverage-linux.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ concurrency:
3636
env:
3737
PYTHON_VERSION: '3.14'
3838
FLAKY_TESTS: keep_retrying
39-
CLANG_VERSION: '19'
40-
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
41-
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19
39+
CLANG_VERSION: '21'
40+
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-21
41+
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-21
4242
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
4343
SCCACHE_IDLE_TIMEOUT: '0'
4444

@@ -48,7 +48,7 @@ permissions:
4848
jobs:
4949
coverage-linux:
5050
if: github.event.pull_request.draft == false
51-
runs-on: ubuntu-24.04-arm
51+
runs-on: ubuntu-26.04-arm
5252
steps:
5353
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5454
with:

‎.github/workflows/daily-wpt-fyi.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
matrix:
3737
node-version: ${{ fromJSON(needs.collect-versions.outputs.matrix) }}
3838
fail-fast: false
39-
runs-on: ubuntu-24.04-arm
39+
runs-on: ubuntu-26.04-arm
4040
steps:
4141
- name: Set up Python ${{ env.PYTHON_VERSION }}
4242
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0

‎.github/workflows/daily.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
jobs:
1515
build-lto:
1616
if: github.repository == 'nodejs/node' || github.event_name == 'workflow_dispatch'
17-
runs-on: ubuntu-24.04-arm
17+
runs-on: ubuntu-26.04-arm
1818
steps:
1919
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2020
with:

‎.github/workflows/stress-test.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ on:
1414
type: choice
1515
options:
1616
- macos-15
17-
- ubuntu-24.04
18-
- ubuntu-24.04-arm
17+
- ubuntu-26.04
18+
- ubuntu-26.04-arm
1919
repeat:
2020
description: Number of times to repeat each test (--repeat)
2121
required: true
@@ -35,7 +35,7 @@ on:
3535
env:
3636
PYTHON_VERSION: '3.14'
3737
XCODE_VERSION: '16.4'
38-
CLANG_VERSION: '19'
38+
CLANG_VERSION: '21'
3939
RUSTC_VERSION: '1.88'
4040

4141
permissions:
@@ -46,8 +46,8 @@ jobs:
4646
runs-on: ${{ inputs.os }}
4747
env:
4848
# Linux builds with clang (matching test-linux.yml), macOS with gcc/g++.
49-
CC: ${{ startsWith(inputs.os, 'ubuntu') && 'sccache clang-19' || 'sccache gcc' }}
50-
CXX: ${{ startsWith(inputs.os, 'ubuntu') && 'sccache clang++-19' || 'sccache g++' }}
49+
CC: ${{ startsWith(inputs.os, 'ubuntu') && 'sccache clang-21' || 'sccache gcc' }}
50+
CXX: ${{ startsWith(inputs.os, 'ubuntu') && 'sccache clang++-21' || 'sccache g++' }}
5151
# Enable sccache - this is okay for a manually-dispatched workflow that is typically used to
5252
# test lib-only or test-only deflaking changes. This should be able to pick up cache from
5353
# test-linux.yml and test-macos.yml running on the main branch.

‎.github/workflows/test-internet.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ concurrency:
4141
env:
4242
PYTHON_VERSION: '3.14'
4343
FLAKY_TESTS: keep_retrying
44-
CLANG_VERSION: '19'
45-
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
46-
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19
44+
CLANG_VERSION: '21'
45+
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-21
46+
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-21
4747
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
4848
SCCACHE_IDLE_TIMEOUT: '0'
4949

@@ -53,7 +53,7 @@ permissions:
5353
jobs:
5454
test-internet:
5555
if: (github.event_name == 'schedule' && github.repository == 'nodejs/node') || (github.event.pull_request && github.event.pull_request.draft == false)
56-
runs-on: ubuntu-24.04-arm
56+
runs-on: ubuntu-26.04-arm
5757
steps:
5858
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5959
with:

‎.github/workflows/test-linux-perfetto.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ concurrency:
2222
env:
2323
PYTHON_VERSION: '3.14'
2424
FLAKY_TESTS: keep_retrying
25-
CLANG_VERSION: '19'
26-
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
27-
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19
25+
CLANG_VERSION: '21'
26+
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-21
27+
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-21
2828
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
2929
SCCACHE_IDLE_TIMEOUT: '0'
3030
RUSTC_VERSION: '1.88'
@@ -35,7 +35,7 @@ permissions:
3535
jobs:
3636
test-perfetto:
3737
if: github.event.pull_request.draft == false
38-
runs-on: ubuntu-24.04-arm
38+
runs-on: ubuntu-26.04-arm
3939
steps:
4040
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4141
with:

‎.github/workflows/test-linux-quic.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ concurrency:
3232
env:
3333
PYTHON_VERSION: '3.14'
3434
FLAKY_TESTS: keep_retrying
35-
CLANG_VERSION: '19'
36-
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
37-
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19
35+
CLANG_VERSION: '21'
36+
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-21
37+
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-21
3838
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
3939
SCCACHE_IDLE_TIMEOUT: '0'
4040
RUSTC_VERSION: '1.88'
@@ -45,7 +45,7 @@ permissions:
4545
jobs:
4646
test-quic:
4747
if: github.event.pull_request.draft == false
48-
runs-on: ubuntu-24.04-arm
48+
runs-on: ubuntu-26.04-arm
4949
steps:
5050
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5151
with:

‎.github/workflows/test-linux.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ concurrency:
4141
env:
4242
PYTHON_VERSION: '3.14'
4343
FLAKY_TESTS: keep_retrying
44-
CLANG_VERSION: '19'
45-
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
46-
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19
44+
CLANG_VERSION: '21'
45+
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-21
46+
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-21
4747
SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
4848
SCCACHE_IDLE_TIMEOUT: '0'
4949
RUSTC_VERSION: '1.88'
@@ -58,7 +58,7 @@ jobs:
5858
strategy:
5959
fail-fast: false
6060
matrix:
61-
os: [ubuntu-24.04, ubuntu-24.04-arm]
61+
os: [ubuntu-26.04, ubuntu-26.04-arm]
6262
steps:
6363
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6464
with:

0 commit comments

Comments
 (0)