Skip to content

Commit 00a88cc

Browse files
committed
Use ubuntu-24.04 instead of 20.04 in CIs
Ubuntu-20.04 is no longer supported in GitHub Actions.
1 parent 07b9cea commit 00a88cc

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/linux.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
# Build all tutorials
88
tutorials_build:
99
name: [email protected] C++14 [tutorials]
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-24.04
1111
env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"}
1212
steps:
1313
- uses: actions/checkout@v4
@@ -37,7 +37,7 @@ jobs:
3737
# Build all tutorials
3838
tutorials_cxx20:
3939
name: [email protected] C++20 OMP [tutorials]
40-
runs-on: ubuntu-20.04
40+
runs-on: ubuntu-24.04
4141
env: {CXXFLAGS: "-Werror -Wno-error=deprecated-declarations -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"}
4242
steps:
4343
- uses: actions/checkout@v4
@@ -71,7 +71,7 @@ jobs:
7171
7272
tutorials_clang:
7373
name: [email protected] C++14 SP Particles DP Mesh Debug [tutorials]
74-
runs-on: ubuntu-20.04
74+
runs-on: ubuntu-24.04
7575
env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -fno-operator-names"}
7676
steps:
7777
- uses: actions/checkout@v4
@@ -108,7 +108,7 @@ jobs:
108108
# Build all tutorials w/o MPI
109109
tutorials-nonmpi:
110110
name: [email protected] C++14 NOMPI [tutorials]
111-
runs-on: ubuntu-20.04
111+
runs-on: ubuntu-24.04
112112
env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"}
113113
steps:
114114
- uses: actions/checkout@v4
@@ -139,7 +139,7 @@ jobs:
139139
# Build all tutorials
140140
tutorials-nofortran:
141141
name: [email protected] C++14 w/o Fortran [tutorials]
142-
runs-on: ubuntu-20.04
142+
runs-on: ubuntu-24.04
143143
env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"}
144144
steps:
145145
- uses: actions/checkout@v4
@@ -168,12 +168,12 @@ jobs:
168168
# Build all tutorials with CUDA 11.0.2 (recent supported)
169169
tutorials-cuda11:
170170
name: [email protected] [email protected] C++17 Release [tutorials]
171-
runs-on: ubuntu-20.04
171+
runs-on: ubuntu-24.04
172172
env: {CXXFLAGS: "-fno-operator-names"}
173173
steps:
174174
- uses: actions/checkout@v4
175175
- name: Dependencies
176-
run: .github/workflows/dependencies/dependencies_nvcc11.sh
176+
run: .github/workflows/dependencies/dependencies_nvcc.sh 12.6
177177
- name: Build & Install
178178
run: |
179179
export PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
@@ -202,7 +202,7 @@ jobs:
202202
203203
tutorials-dpcpp:
204204
name: DPCPP [email protected] C++17 [tutorials]
205-
runs-on: ubuntu-20.04
205+
runs-on: ubuntu-24.04
206206
env: {CXXFLAGS: "-fno-operator-names"}
207207
steps:
208208
- uses: actions/checkout@v4
@@ -235,7 +235,7 @@ jobs:
235235

236236
tutorials-hip:
237237
name: HIP ROCm [email protected] C++17 [tutorials]
238-
runs-on: ubuntu-20.04
238+
runs-on: ubuntu-24.04
239239
# Have to have -Wno-deprecated-declarations due to deprecated atomicAddNoRet
240240
# Have to have -Wno-gnu-zero-variadic-macro-arguments to avoid
241241
# amrex/Src/Base/AMReX_GpuLaunchGlobal.H:15:5: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
@@ -259,7 +259,7 @@ jobs:
259259
which clang++
260260
cmake --version
261261
262-
# "mpic++ --showme" forgets open-pal in Ubuntu 20.04 + OpenMPI 4.0.3
262+
# "mpic++ --showme" forgets open-pal in Ubuntu 24.04 + OpenMPI 4.0.3
263263
# https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1941786
264264
# https://github.com/open-mpi/ompi/issues/9317
265265
export LDFLAGS="-lopen-pal"

0 commit comments

Comments
 (0)