Adding support to memory collection of Particles and MultiFabs within a grid #6794
This file contains hidden or 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
# -Wno-c++17-extensions: Clang complains about nodiscard if the standard is not set to c++17. | |
name: SENSEI | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.ref }}-${{ github.head_ref }}-sensei | |
cancel-in-progress: true | |
jobs: | |
check_changes: | |
uses: ./.github/workflows/check_changes.yml | |
test_sensei: | |
name: SENSEI Adaptor [test] | |
runs-on: ubuntu-24.04 | |
needs: check_changes | |
if: needs.check_changes.outputs.has_non_docs_changes == 'true' | |
env: | |
CXX: clang++ | |
CC: clang | |
CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names" | |
CMAKE_GENERATOR: Ninja | |
CMAKE_PREFIX_PATH: /root/install/sensei/v4.0.0/lib64/cmake | |
container: | |
image: senseiinsitu/ci:fedora35-amrex-20220613 | |
steps: | |
- uses: actions/checkout@v5 | |
- name: Setup | |
run: mkdir build | |
- name: Configure | |
run: | | |
cd build | |
cmake .. \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DAMReX_ENABLE_TESTS=ON \ | |
-DAMReX_FORTRAN=OFF \ | |
-DAMReX_SENSEI=ON | |
- name: Build | |
run: | | |
cd build | |
cmake --build . -j 4 |