Skip to content

Commit

Permalink
GitHub Runner: ubuntu-20.04 -> ubuntu-24.04
Browse files Browse the repository at this point in the history
GitHub will stop supporting ubuntu-20.04 soon.
  • Loading branch information
WeiqunZhang committed Feb 11, 2025
1 parent 198da48 commit 1c2dc60
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ascent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
jobs:
ascent:
name: Ascent
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
if: github.event.pull_request.draft == false
env:
CXX: g++
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# Note: this is an intentional "minimal" build that does not enable (many) options
library_clang:
name: Clang@7.0 C++17 SP NOMPI Debug [lib]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# Build libamrex and all tests with CUDA 11.2
tests-cuda11:
name: CUDA@11.2 GNU@9.3.0 C++17 Release [tests]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
# Build libamrex and all tests with NVHPC (recent supported)
tests-nvhpc-nvcc:
name: NVHPC NVCC/NVC++ C++17 Release [tests]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
# Build 3D libamrex cuda build with configure
configure-3d-cuda:
name: CUDA@11.2 GNU@9.3.0 [configure 3D]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# Note: this is an intentional "minimal" build that does not enable (many) options
library:
name: GNU@8.4 C++17 Release [lib]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
tests_build_2D:
name: GNU@9.3 C++17 2D Debug Fortran [tests]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
tests_build_1D:
name: GNU@9.3 C++17 1D Debug Fortran [tests]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
# Build libamrex and all tests
tests_cxx20:
name: GNU@10.1 C++20 OMP [tests]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -293,7 +293,7 @@ jobs:
# Build libamrex and all tests w/o MPI
tests-nonmpi:
name: GNU@8.4 C++17 NOMPI [tests]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -417,7 +417,7 @@ jobs:
# Build 1D libamrex with configure
configure-1d:
name: GNU@9.3 Release [configure 1D]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -501,7 +501,7 @@ jobs:
# Build 3D libamrex with single precision and tiny profiler
configure-3d-single-tprof:
name: GNU@9.3 Release [configure 3D]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -544,7 +544,7 @@ jobs:
# Build 3D libamrex debug omp build with configure
configure-3d-omp-debug:
name: GNU@9.3 OMP Debug [configure 3D]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -586,7 +586,7 @@ jobs:
# Build Tools/Plotfile
plotfile-tools:
name: GNU Plotfile Tools [tools]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -679,7 +679,7 @@ jobs:
test_hdf5:
name: GNU@9.3 HDF5 I/O Test [tests]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
env:
Expand Down
18 changes: 4 additions & 14 deletions .github/workflows/hip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

tests-hip:
name: HIP ROCm Flang C++17 [tests]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -46,11 +46,6 @@ jobs:
which clang++
which flang
# "mpic++ --showme" forgets open-pal in Ubuntu 20.04 + OpenMPI 4.0.3
# https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1941786
# https://github.com/open-mpi/ompi/issues/9317
export LDFLAGS="-lopen-pal"
cmake -S . -B build \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DAMReX_FFT=ON \
Expand All @@ -73,7 +68,7 @@ jobs:
tests-hip-wrapper:
name: HIP ROCm GFortran@9.3 C++17 [tests-hipcc]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -104,11 +99,6 @@ jobs:
source /etc/profile.d/rocm.sh
hipcc --version
# "mpic++ --showme" forgets open-pal in Ubuntu 20.04 + OpenMPI 4.0.3
# https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1941786
# https://github.com/open-mpi/ompi/issues/9317
export LDFLAGS="-lopen-pal"
cmake -S . -B build_full_legacywrapper \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DAMReX_FFT=ON \
Expand All @@ -133,7 +123,7 @@ jobs:
# Build 2D libamrex hip build with configure
configure-2d-single-hip:
name: HIP EB [configure 2D]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down Expand Up @@ -168,7 +158,7 @@ jobs:
# Build 3D EB hip with gnu make
hip-3d-eb-gmake:
name: HIP EB 3D GMake
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hypre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

compile-hypre-cuda-eb-2d:
name: CUDA EB 2D Hypre@2.26.0
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
no-tests-oneapi-sycl-amd:
name: oneAPI SYCL for AMD GPUs
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sensei.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

test_sensei:
name: SENSEI Adaptor [test]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
env:
Expand Down

0 comments on commit 1c2dc60

Please sign in to comment.