Skip to content

Commit c6d7a48

Browse files
committed
CI: upgrade Ubuntu version in GitHub Actions workflows
1 parent 529723f commit c6d7a48

10 files changed

+20
-20
lines changed

.github/workflows/clang_tidy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
matrix:
2020
dim: [1, 2, RZ, 3]
2121
name: clang-tidy-${{ matrix.dim }}D
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323
timeout-minutes: 250
2424
if: github.event.pull_request.draft == false
2525
steps:

.github/workflows/cleanup-cache-postpr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
CleanUpCcacheCachePostPR:
1111
name: Clean Up Ccache Cache Post PR
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
permissions:
1414
actions: write
1515
contents: read

.github/workflows/cleanup-cache.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
CleanUpCcacheCache:
1111
name: Clean Up Ccache Cache for ${{ github.event.workflow_run.name }}
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
permissions:
1414
actions: write
1515
contents: read

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515
jobs:
1616
analyze:
1717
name: Analyze
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-24.04
1919
if: github.event.pull_request.draft == false
2020
permissions:
2121
actions: read

.github/workflows/cuda.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
# https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/
2121
build_nvcc:
2222
name: NVCC 11.3 SP
23-
runs-on: ubuntu-20.04
23+
runs-on: ubuntu-24.04
2424
if: github.event.pull_request.draft == false
2525
env:
2626
CXXFLAGS: "-Werror"
@@ -101,7 +101,7 @@ jobs:
101101
# to add new .cpp files
102102
build_nvcc_gnumake:
103103
name: NVCC 11.8.0 GNUmake
104-
runs-on: ubuntu-20.04
104+
runs-on: ubuntu-24.04
105105
if: github.event.pull_request.draft == false
106106
steps:
107107
- uses: actions/checkout@v4
@@ -135,7 +135,7 @@ jobs:
135135
136136
build_nvhpc24-1-nvcc:
137137
name: NVHPC@24.1 NVCC/NVC++ Release [tests]
138-
runs-on: ubuntu-20.04
138+
runs-on: ubuntu-24.04
139139
if: github.event.pull_request.draft == false
140140
#env:
141141
# # For NVHPC, Ninja is slower than the default:

.github/workflows/insitu.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
jobs:
1717
sensei:
1818
name: SENSEI
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-24.04
2020
if: github.event.pull_request.draft == false
2121
env:
2222
CXX: clang++
@@ -42,7 +42,7 @@ jobs:
4242
4343
ascent:
4444
name: Ascent
45-
runs-on: ubuntu-20.04
45+
runs-on: ubuntu-24.04
4646
if: github.event.pull_request.draft == false
4747
env:
4848
CXX: g++
@@ -82,7 +82,7 @@ jobs:
8282

8383
catalyst:
8484
name: Catalyst
85-
runs-on: ubuntu-22.04
85+
runs-on: ubuntu-24.04
8686
if: github.event.pull_request.draft == false
8787
env:
8888
CXX: g++

.github/workflows/intel.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# intel-basekit intel-hpckit are too large in size
1919
build_icc:
2020
name: oneAPI ICC SP&DP
21-
runs-on: ubuntu-20.04
21+
runs-on: ubuntu-24.04
2222
if: github.event.pull_request.draft == false
2323
# For oneAPI, Ninja is slower than the default:
2424
#env:
@@ -79,7 +79,7 @@ jobs:
7979
8080
build_icpx:
8181
name: oneAPI ICX SP
82-
runs-on: ubuntu-20.04
82+
runs-on: ubuntu-24.04
8383
# Since 2021.4.0, AMReX_GpuUtility.H: error: comparison with NaN always evaluates to false in fast floating point modes
8484
# oneAPI 2022.2.0 hangs for -O2 and higher:
8585
# https://github.com/ECP-WarpX/WarpX/issues/3442
@@ -144,7 +144,7 @@ jobs:
144144
145145
build_dpcc:
146146
name: oneAPI DPC++ SP
147-
runs-on: ubuntu-20.04
147+
runs-on: ubuntu-24.04
148148
# Since 2021.4.0, AMReX_GpuUtility.H: error: comparison with NaN always evaluates to false in fast floating point modes
149149
# oneAPI 2022.2.0 hangs for -O2 and higher:
150150
# https://github.com/ECP-WarpX/WarpX/issues/3442

.github/workflows/post-pr.yml

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

1111
jobs:
1212
noop:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- name: No OP
1616
run: echo "This workflow is going to trigger CleanUpCachePostPR."

.github/workflows/source.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
jobs:
2020
style:
2121

22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323

2424
steps:
2525
- uses: actions/checkout@v4

.github/workflows/ubuntu.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
jobs:
1717
build_cxxminimal:
1818
name: GCC Minimal w/o MPI
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-24.04
2020
if: github.event.pull_request.draft == false
2121
env:
2222
CXXFLAGS: "-Werror"
@@ -54,7 +54,7 @@ jobs:
5454
5555
build_1D_2D:
5656
name: GCC 1D & 2D w/ MPI, QED tools
57-
runs-on: ubuntu-22.04
57+
runs-on: ubuntu-24.04
5858
if: github.event.pull_request.draft == false
5959
env:
6060
CXXFLAGS: "-Werror"
@@ -101,7 +101,7 @@ jobs:
101101
102102
build_3D_sp:
103103
name: GCC 3D & RZ w/ MPI, single precision
104-
runs-on: ubuntu-22.04
104+
runs-on: ubuntu-24.04
105105
if: github.event.pull_request.draft == false
106106
env:
107107
CXX: "g++-12"
@@ -148,7 +148,7 @@ jobs:
148148
149149
build_gcc_ablastr:
150150
name: GCC ABLASTR w/o MPI
151-
runs-on: ubuntu-20.04
151+
runs-on: ubuntu-24.04
152152
if: github.event.pull_request.draft == false
153153
env:
154154
CMAKE_GENERATOR: Ninja
@@ -184,7 +184,7 @@ jobs:
184184
185185
build_pyfull:
186186
name: Clang pywarpx
187-
runs-on: ubuntu-20.04
187+
runs-on: ubuntu-24.04
188188
if: github.event.pull_request.draft == false
189189
env:
190190
CC: clang

0 commit comments

Comments
 (0)