forked from AMReX-Codes/amrex
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 1012 Bytes
/
sensei.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -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:
test_sensei:
name: SENSEI Adaptor [test]
runs-on: ubuntu-20.04
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@v4
- 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