forked from AMReX-Codes/amrex
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 840 Bytes
/
ascent.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
name: 🐧 Ascent
on: [push, pull_request]
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-insituvis
cancel-in-progress: true
jobs:
ascent:
name: Ascent
runs-on: ubuntu-20.04
if: github.event.pull_request.draft == false
env:
CXX: g++
CC: gcc
CMAKE_PREFIX_PATH: /ascent/install/lib/cmake/
container:
image: alpinedav/ascent:0.9.2
steps:
- uses: actions/checkout@v4
- name: Configure
run: |
. /ascent_docker_setup_env.sh
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Debug \
-DAMReX_ENABLE_TESTS=ON \
-DAMReX_FORTRAN=OFF \
-DAMReX_ASCENT=ON \
-DAMReX_CONDUIT=ON
- name: Build
run: |
. /ascent_docker_setup_env.sh
cmake --build build -j 4