Skip to content

Commit

Permalink
Update GitHub Actions (#2996)
Browse files Browse the repository at this point in the history
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

## Summary

## Additional background

## Checklist

The proposed changes:
- [ ] fix a bug or incorrect behavior in AMReX
- [ ] add new capabilities to AMReX
- [ ] changes answers in the test suite to more than roundoff level
- [ ] are likely to significantly affect the results of downstream AMReX
users
- [ ] include documentation in the code and/or rst files, if appropriate
  • Loading branch information
WeiqunZhang authored Oct 20, 2022
1 parent 0b88bfd commit 3082028
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 35 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-18.04
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wno-c++17-extensions -Wnon-virtual-dtor"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_clang6.sh
- name: Build & Install
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wno-c++17-extensions -O1 -Wnon-virtual-dtor"}
# It's too slow with -O0
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_clang6.sh
- name: Build & Install
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
name: [email protected] NOMPI Release [configure 2D]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_clang6.sh
- name: Build & Install
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-18.04
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wunreachable-code -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_nvcc10.sh
- name: Build & Install
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-20.04
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_nvcc11.sh
- name: Build & Install
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-20.04
env: {CXXFLAGS: "-Werror -Wall -Wextra -Wpedantic -Wshadow"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_nvhpc21-11.sh
- name: Build & Install
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
name: [email protected] [email protected] [configure 3D]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_nvcc11.sh
- name: Build & Install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
uses: actions/checkout@v3
with:
persist-credentials: false

Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-18.04
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"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -O1 -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches"}
# It's too slow with -O0
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand All @@ -69,7 +69,7 @@ jobs:
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -O1 -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches"}
# It's too slow with -O0
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand All @@ -93,7 +93,7 @@ jobs:
# -Werror temporarily skipped until we have functional testing established
# It's too slow with -O0
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand All @@ -116,7 +116,7 @@ jobs:
runs-on: ubuntu-18.04
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_gcc10.sh
- name: Build & Install
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
runs-on: ubuntu-18.04
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"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
runs-on: ubuntu-18.04
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wunreachable-code -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_nofortran.sh
- name: Build & Install
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
name: [email protected] Release [configure 1D]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand All @@ -220,7 +220,7 @@ jobs:
name: [email protected] Release [configure 3D]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand All @@ -234,7 +234,7 @@ jobs:
name: [email protected] Release [configure 3D]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand All @@ -248,7 +248,7 @@ jobs:
name: [email protected] OMP Debug [configure 3D]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand All @@ -262,7 +262,7 @@ jobs:
name: GNU Plotfile Tools [tools]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand All @@ -276,7 +276,7 @@ jobs:
runs-on: ubuntu-18.04
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wunreachable-code -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand All @@ -301,7 +301,7 @@ jobs:
CXX: h5pcc
CC: h5cc
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: |
.github/workflows/dependencies/dependencies.sh
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/hip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# #define select_impl_(_1, _2, impl_, ...) impl_
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-deprecated-declarations -Wno-gnu-zero-variadic-macro-arguments"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_hip.sh
- name: Build & Install
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
# #define select_impl_(_1, _2, impl_, ...) impl_
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-deprecated-declarations -Wno-gnu-zero-variadic-macro-arguments"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_hip.sh
- name: Build & Install
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
name: HIP EB [configure 2D]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_hip.sh
- name: Build & Install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# mkl/rng/device/detail/mrg32k3a_impl.hpp has a number of sign-compare error
env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-sign-compare"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_dpcpp.sh
- name: Build & Install
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-20.04
env: {CXXFLAGS: "-Werror"}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: install dependencies
run: |
export DEBIAN_FRONTEND=noninteractive
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-c++17-extensions -Wno-range-loop-analysis"
# -Wno-range-loop-analysis: Apple clang has a bug in range-loop-analysis
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_mac.sh
- name: Build & Install
Expand All @@ -42,7 +42,7 @@ jobs:
CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-c++17-extensions -Wno-range-loop-analysis"
# -Wno-range-loop-analysis: Apple clang has a bug in range-loop-analysis
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Dependencies
run: .github/workflows/dependencies/dependencies_mac.sh
- name: Build & Install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sensei.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
container:
image: senseiinsitu/ci:fedora35-amrex-20220613
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup
run: mkdir build
- name: Configure
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
tabs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Tabs
run: .github/workflows/style/check_tabs.sh

trailing_whitespaces:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Trailing Whitespaces
run: .github/workflows/style/check_trailing_whitespaces.sh
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: MSVC C++17 w/o Fortran w/o MPI
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build & Install
run: |
cmake -S . -B build `
Expand All @@ -31,7 +31,7 @@ jobs:
name: MSVC C++17 w/o Fortran w/o MPI static
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build & Install
run: |
cmake -S . -B build `
Expand All @@ -49,7 +49,7 @@ jobs:
name: Clang C++17 w/o Fortran w/o MPI
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: seanmiddleditch/gha-setup-ninja@master
- name: Build & Install
shell: cmd
Expand Down

0 comments on commit 3082028

Please sign in to comment.