-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub Runner: ubuntu-20.04 -> ubuntu-24.04 (#4330)
GitHub will stop supporting ubuntu-20.04 soon.
- Loading branch information
1 parent
198da48
commit 63e03ea
Showing
17 changed files
with
89 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,17 +10,17 @@ jobs: | |
check_changes: | ||
uses: ./.github/workflows/check_changes.yml | ||
|
||
# Build libamrex and all tests with CUDA 11.2 | ||
tests-cuda11: | ||
name: CUDA@11.2 [email protected] C++17 Release [tests] | ||
runs-on: ubuntu-20.04 | ||
# Build libamrex and all tests with CUDA 12.6 | ||
tests-cuda12: | ||
name: CUDA@12.6 C++17 Release [tests] | ||
runs-on: ubuntu-24.04 | ||
needs: check_changes | ||
if: needs.check_changes.outputs.has_non_docs_changes == 'true' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Dependencies | ||
run: | | ||
.github/workflows/dependencies/dependencies_nvcc.sh 11.2 | ||
.github/workflows/dependencies/dependencies_nvcc.sh 12.6 | ||
.github/workflows/dependencies/dependencies_ccache.sh | ||
- name: Set Up Cache | ||
uses: actions/cache@v4 | ||
|
@@ -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: | ||
|
@@ -185,15 +185,15 @@ jobs: | |
# Build 3D libamrex cuda build with configure | ||
configure-3d-cuda: | ||
name: CUDA@11.2 [email protected] [configure 3D] | ||
runs-on: ubuntu-20.04 | ||
name: CUDA@12.6 [configure 3D] | ||
runs-on: ubuntu-24.04 | ||
needs: check_changes | ||
if: needs.check_changes.outputs.has_non_docs_changes == 'true' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Dependencies | ||
run: | | ||
.github/workflows/dependencies/dependencies_nvcc.sh 11.2 | ||
.github/workflows/dependencies/dependencies_nvcc.sh 12.6 | ||
.github/workflows/dependencies/dependencies_ccache.sh | ||
- name: Set Up Cache | ||
uses: actions/cache@v4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,15 @@ jobs: | |
# Build and install libamrex as AMReX CMake project | ||
# 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 | ||
name: GNU@14 C++17 Release [lib] | ||
runs-on: ubuntu-24.04 | ||
needs: check_changes | ||
if: needs.check_changes.outputs.has_non_docs_changes == 'true' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Dependencies | ||
run: | | ||
.github/workflows/dependencies/dependencies_gcc.sh 8 | ||
.github/workflows/dependencies/dependencies_gcc.sh 14 | ||
.github/workflows/dependencies/dependencies_clang-tidy-apt-llvm.sh 17 | ||
.github/workflows/dependencies/dependencies_ccache.sh | ||
- name: Set Up Cache | ||
|
@@ -35,7 +35,7 @@ jobs: | |
restore-keys: | | ||
ccache-${{ github.workflow }}-${{ github.job }}-git- | ||
- name: Build & Install | ||
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wmissing-include-dirs"} | ||
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wmissing-include-dirs -Wno-array-bounds"} | ||
run: | | ||
export CCACHE_COMPRESS=1 | ||
export CCACHE_COMPRESSLEVEL=10 | ||
|
@@ -52,9 +52,9 @@ jobs: | |
-DAMReX_PLOTFILE_TOOLS=ON \ | ||
-DCMAKE_VERBOSE_MAKEFILE=ON \ | ||
-DCMAKE_INSTALL_PREFIX=/tmp/my-amrex \ | ||
-DCMAKE_C_COMPILER=$(which gcc-8) \ | ||
-DCMAKE_CXX_COMPILER=$(which g++-8) \ | ||
-DCMAKE_Fortran_COMPILER=$(which gfortran-8) \ | ||
-DCMAKE_C_COMPILER=$(which gcc-14) \ | ||
-DCMAKE_CXX_COMPILER=$(which g++-14) \ | ||
-DCMAKE_Fortran_COMPILER=$(which gfortran-14) \ | ||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
make -j 4 | ||
make install | ||
|
@@ -127,7 +127,7 @@ jobs: | |
tests_build_2D: | ||
name: [email protected] 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: | ||
|
@@ -178,7 +178,7 @@ jobs: | |
tests_build_1D: | ||
name: [email protected] 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: | ||
|
@@ -231,7 +231,7 @@ jobs: | |
# Build libamrex and all tests | ||
tests_cxx20: | ||
name: [email protected] 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: | ||
|
@@ -292,15 +292,15 @@ jobs: | |
# Build libamrex and all tests w/o MPI | ||
tests-nonmpi: | ||
name: GNU@8.4 C++17 NOMPI [tests] | ||
runs-on: ubuntu-20.04 | ||
name: GNU@14 C++17 NOMPI [tests] | ||
runs-on: ubuntu-24.04 | ||
needs: check_changes | ||
if: needs.check_changes.outputs.has_non_docs_changes == 'true' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Dependencies | ||
run: | | ||
.github/workflows/dependencies/dependencies_gcc.sh 8 | ||
.github/workflows/dependencies/dependencies_gcc.sh 14 | ||
.github/workflows/dependencies/dependencies_clang-tidy-apt-llvm.sh 17 | ||
.github/workflows/dependencies/dependencies_ccache.sh | ||
- name: Set Up Cache | ||
|
@@ -311,7 +311,7 @@ jobs: | |
restore-keys: | | ||
ccache-${{ github.workflow }}-${{ github.job }}-git- | ||
- name: Build & Install | ||
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wmissing-include-dirs"} | ||
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wmissing-include-dirs -Wno-array-bounds"} | ||
run: | | ||
export CCACHE_COMPRESS=1 | ||
export CCACHE_COMPRESSLEVEL=10 | ||
|
@@ -335,9 +335,9 @@ jobs: | |
-DAMReX_ENABLE_TESTS=ON \ | ||
-DAMReX_FORTRAN=ON \ | ||
-DAMReX_MPI=OFF \ | ||
-DCMAKE_C_COMPILER=$(which gcc-8) \ | ||
-DCMAKE_CXX_COMPILER=$(which g++-8) \ | ||
-DCMAKE_Fortran_COMPILER=$(which gfortran-8) \ | ||
-DCMAKE_C_COMPILER=$(which gcc-14) \ | ||
-DCMAKE_CXX_COMPILER=$(which g++-14) \ | ||
-DCMAKE_Fortran_COMPILER=$(which gfortran-14) \ | ||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
make -j 4 | ||
|
@@ -417,7 +417,7 @@ jobs: | |
# Build 1D libamrex with configure | ||
configure-1d: | ||
name: [email protected] 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: | ||
|
@@ -501,7 +501,7 @@ jobs: | |
# Build 3D libamrex with single precision and tiny profiler | ||
configure-3d-single-tprof: | ||
name: [email protected] 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: | ||
|
@@ -544,7 +544,7 @@ jobs: | |
# Build 3D libamrex debug omp build with configure | ||
configure-3d-omp-debug: | ||
name: [email protected] 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: | ||
|
@@ -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: | ||
|
@@ -679,7 +679,7 @@ jobs: | |
test_hdf5: | ||
name: [email protected] 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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,14 +12,14 @@ 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: | ||
- uses: actions/checkout@v4 | ||
- name: Dependencies | ||
run: | | ||
.github/workflows/dependencies/dependencies_hip.sh | ||
.github/workflows/dependencies/dependencies_hip.sh 6.3.2 | ||
.github/workflows/dependencies/dependencies_ccache.sh | ||
- name: Set Up Cache | ||
uses: actions/cache@v4 | ||
|
@@ -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 \ | ||
|
@@ -73,14 +68,14 @@ jobs: | |
tests-hip-wrapper: | ||
name: HIP ROCm [email protected] 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: | ||
- uses: actions/checkout@v4 | ||
- name: Dependencies | ||
run: | | ||
.github/workflows/dependencies/dependencies_hip.sh | ||
.github/workflows/dependencies/dependencies_hip.sh 6.3.2 | ||
.github/workflows/dependencies/dependencies_ccache.sh | ||
- name: Set Up Cache | ||
uses: actions/cache@v4 | ||
|
@@ -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 \ | ||
|
@@ -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: | ||
|
@@ -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: | ||
|
Oops, something went wrong.