From c6d7a4891f010831e8cbf4740b3408ab1fad2b69 Mon Sep 17 00:00:00 2001 From: Edoardo Zoni Date: Tue, 4 Mar 2025 09:44:11 -0800 Subject: [PATCH] CI: upgrade Ubuntu version in GitHub Actions workflows --- .github/workflows/clang_tidy.yml | 2 +- .github/workflows/cleanup-cache-postpr.yml | 2 +- .github/workflows/cleanup-cache.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/cuda.yml | 6 +++--- .github/workflows/insitu.yml | 6 +++--- .github/workflows/intel.yml | 6 +++--- .github/workflows/post-pr.yml | 2 +- .github/workflows/source.yml | 2 +- .github/workflows/ubuntu.yml | 10 +++++----- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/clang_tidy.yml b/.github/workflows/clang_tidy.yml index 49f2a5b6e25..b348c08420d 100644 --- a/.github/workflows/clang_tidy.yml +++ b/.github/workflows/clang_tidy.yml @@ -19,7 +19,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: 250 if: github.event.pull_request.draft == false steps: diff --git a/.github/workflows/cleanup-cache-postpr.yml b/.github/workflows/cleanup-cache-postpr.yml index 5e9a70cd5a4..fc6fb8f51b4 100644 --- a/.github/workflows/cleanup-cache-postpr.yml +++ b/.github/workflows/cleanup-cache-postpr.yml @@ -9,7 +9,7 @@ on: jobs: CleanUpCcacheCachePostPR: name: Clean Up Ccache Cache Post PR - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: actions: write contents: read diff --git a/.github/workflows/cleanup-cache.yml b/.github/workflows/cleanup-cache.yml index c71a48cdad8..5ccef8fb623 100644 --- a/.github/workflows/cleanup-cache.yml +++ b/.github/workflows/cleanup-cache.yml @@ -9,7 +9,7 @@ on: jobs: CleanUpCcacheCache: name: Clean Up Ccache Cache for ${{ github.event.workflow_run.name }} - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: actions: write contents: read diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e3549ae340a..1df507fc646 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -15,7 +15,7 @@ concurrency: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: github.event.pull_request.draft == false permissions: actions: read diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 30e4adf1b51..c5af058f006 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -20,7 +20,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" @@ -101,7 +101,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 @@ -135,7 +135,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/insitu.yml b/.github/workflows/insitu.yml index 3d3942174a7..35f18e46ddf 100644 --- a/.github/workflows/insitu.yml +++ b/.github/workflows/insitu.yml @@ -16,7 +16,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++ @@ -42,7 +42,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++ @@ -82,7 +82,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 25819e188e3..3e879231be8 100644 --- a/.github/workflows/intel.yml +++ b/.github/workflows/intel.yml @@ -18,7 +18,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: @@ -79,7 +79,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 @@ -144,7 +144,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/post-pr.yml b/.github/workflows/post-pr.yml index 5f0b1534970..fc035585a85 100644 --- a/.github/workflows/post-pr.yml +++ b/.github/workflows/post-pr.yml @@ -10,7 +10,7 @@ on: jobs: noop: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: No OP run: echo "This workflow is going to trigger CleanUpCachePostPR." diff --git a/.github/workflows/source.yml b/.github/workflows/source.yml index b97afe016c0..f0cbe54473d 100644 --- a/.github/workflows/source.yml +++ b/.github/workflows/source.yml @@ -19,7 +19,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 d657daf5793..f952448806e 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -16,7 +16,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" @@ -54,7 +54,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" @@ -101,7 +101,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" @@ -148,7 +148,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 @@ -184,7 +184,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