Skip to content

Commit

Permalink
CI: upgrade Ubuntu for GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni committed Sep 18, 2024
1 parent cb5d0c8 commit 5f269b3
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/clang_sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang_tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
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:
# 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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/insitu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand All @@ -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++
Expand Down Expand Up @@ -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++
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
jobs:
style:

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5f269b3

Please sign in to comment.