From 5f269b304040784948c97e954c20bca990c4db07 Mon Sep 17 00:00:00 2001 From: Edoardo Zoni Date: Wed, 18 Sep 2024 16:35:39 -0700 Subject: [PATCH] CI: upgrade Ubuntu for GitHub Actions workflows --- .github/workflows/clang_sanitizers.yml | 4 ++-- .github/workflows/clang_tidy.yml | 2 +- .github/workflows/cuda.yml | 6 +++--- .github/workflows/hip.yml | 4 ++-- .github/workflows/insitu.yml | 6 +++--- .github/workflows/intel.yml | 6 +++--- .github/workflows/source.yml | 2 +- .github/workflows/ubuntu.yml | 10 +++++----- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/clang_sanitizers.yml b/.github/workflows/clang_sanitizers.yml index 119a893eb72..f3a676d3b0c 100644 --- a/.github/workflows/clang_sanitizers.yml +++ b/.github/workflows/clang_sanitizers.yml @@ -9,7 +9,7 @@ concurrency: jobs: build_UB_sanitizer: name: Clang UB sanitizer - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 container: ubuntu:23.10 if: github.event.pull_request.draft == false env: @@ -75,7 +75,7 @@ jobs: build_thread_sanitizer: name: Clang thread sanitizer - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 container: ubuntu:23.10 if: github.event.pull_request.draft == false env: diff --git a/.github/workflows/clang_tidy.yml b/.github/workflows/clang_tidy.yml index 5a4f83f01f1..06791137748 100644 --- a/.github/workflows/clang_tidy.yml +++ b/.github/workflows/clang_tidy.yml @@ -12,7 +12,7 @@ jobs: matrix: dim: [1, 2, RZ, 3] name: clang-tidy-${{ matrix.dim }}D - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 180 if: github.event.pull_request.draft == false steps: diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index a1e7f5affda..6a06b493e5a 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -13,7 +13,7 @@ jobs: # https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ build_nvcc: name: NVCC 11.3 SP - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false env: CXXFLAGS: "-Werror" @@ -105,7 +105,7 @@ jobs: # to add new .cpp files build_nvcc_gnumake: name: NVCC 11.8.0 GNUmake - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false steps: - uses: actions/checkout@v4 @@ -139,7 +139,7 @@ jobs: build_nvhpc24-1-nvcc: name: NVHPC@24.1 NVCC/NVC++ Release [tests] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false #env: # # For NVHPC, Ninja is slower than the default: diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index ba537e776d4..482c1ea7f78 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -9,7 +9,7 @@ concurrency: jobs: build_hip_3d_sp: name: HIP 3D SP - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 env: CXXFLAGS: "-Werror -Wno-deprecated-declarations -Wno-error=pass-failed" CMAKE_GENERATOR: Ninja @@ -69,7 +69,7 @@ jobs: build_hip_2d_dp: name: HIP 2D DP - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 env: CXXFLAGS: "-Werror -Wno-deprecated-declarations -Wno-error=pass-failed" CMAKE_GENERATOR: Ninja diff --git a/.github/workflows/insitu.yml b/.github/workflows/insitu.yml index 35f16842935..e2730fc8082 100644 --- a/.github/workflows/insitu.yml +++ b/.github/workflows/insitu.yml @@ -9,7 +9,7 @@ concurrency: jobs: sensei: name: SENSEI - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false env: CXX: clang++ @@ -35,7 +35,7 @@ jobs: ascent: name: Ascent - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false env: CXX: g++ @@ -75,7 +75,7 @@ jobs: catalyst: name: Catalyst - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false env: CXX: g++ diff --git a/.github/workflows/intel.yml b/.github/workflows/intel.yml index 4d0b9ebe9c6..33ad32b5658 100644 --- a/.github/workflows/intel.yml +++ b/.github/workflows/intel.yml @@ -11,7 +11,7 @@ jobs: # intel-basekit intel-hpckit are too large in size build_icc: name: oneAPI ICC SP&DP - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false # For oneAPI, Ninja is slower than the default: #env: @@ -72,7 +72,7 @@ jobs: build_icpx: name: oneAPI ICX SP - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 # Since 2021.4.0, AMReX_GpuUtility.H: error: comparison with NaN always evaluates to false in fast floating point modes # oneAPI 2022.2.0 hangs for -O2 and higher: # https://github.com/ECP-WarpX/WarpX/issues/3442 @@ -136,7 +136,7 @@ jobs: build_dpcc: name: oneAPI DPC++ SP - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 # Since 2021.4.0, AMReX_GpuUtility.H: error: comparison with NaN always evaluates to false in fast floating point modes # oneAPI 2022.2.0 hangs for -O2 and higher: # https://github.com/ECP-WarpX/WarpX/issues/3442 diff --git a/.github/workflows/source.yml b/.github/workflows/source.yml index 7a2086cfdff..a532203c70a 100644 --- a/.github/workflows/source.yml +++ b/.github/workflows/source.yml @@ -15,7 +15,7 @@ concurrency: jobs: style: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 68d2b2156e9..af477a8ef03 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -9,7 +9,7 @@ concurrency: jobs: build_cxxminimal: name: GCC Minimal w/o MPI - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false env: CXXFLAGS: "-Werror" @@ -47,7 +47,7 @@ jobs: build_1D_2D: name: GCC 1D & 2D w/ MPI, QED tools - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false env: CXXFLAGS: "-Werror" @@ -94,7 +94,7 @@ jobs: build_3D_sp: name: GCC 3D & RZ w/ MPI, single precision - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false env: CXX: "g++-12" @@ -141,7 +141,7 @@ jobs: build_gcc_ablastr: name: GCC ABLASTR w/o MPI - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false env: CMAKE_GENERATOR: Ninja @@ -177,7 +177,7 @@ jobs: build_pyfull: name: Clang pywarpx - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false env: CC: clang