Skip to content

Commit

Permalink
Add a Github action that tries to build tutorials with SP particles a…
Browse files Browse the repository at this point in the history
…nd DP mesh. (AMReX-Codes#1764)

Currently this combination is only caught by the Nyx CI.
  • Loading branch information
atmyers authored Jan 30, 2021
1 parent 302fad3 commit 466e307
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
-DCMAKE_CXX_STANDARD=17
make -j 2
make install
export PATH=/tmp/my-amrex/bin:$PATH
which fcompare
Expand Down Expand Up @@ -103,6 +103,32 @@ jobs:
-DCMAKE_Fortran_COMPILER=$(which gfortran-10)
make -j 2
tutorials_clang:
name: Clang@6.0 C++14 SP Particles DP Mesh Debug [tutorials]
runs-on: ubuntu-18.04
env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -fno-operator-names"}
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: .github/workflows/dependencies/dependencies_clang6.sh
- name: Build & Install
run: |
mkdir build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DAMReX_BUILD_TUTORIALS=ON \
-DAMReX_MPI=OFF \
-DAMReX_PARTICLES=ON \
-DAMReX_PRECISION=DOUBLE \
-DAMReX_PARTICLES_PRECISION=SINGLE \
-DCMAKE_CXX_STANDARD=14 \
-DCMAKE_C_COMPILER=$(which clang) \
-DCMAKE_CXX_COMPILER=$(which clang++) \
-DCMAKE_Fortran_COMPILER=$(which gfortran)
make -j 2
# Build libamrex and all tutorials w/o MPI
tutorials-nonmpi:
name: GNU@7.5 C++14 NOMPI [tutorials]
Expand Down

0 comments on commit 466e307

Please sign in to comment.