Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add github ci compile check for ascent #2483

Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ascent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 🐧 In Situ Vis with Ascent

on: [push, pull_request]

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-insituvis
ax3l marked this conversation as resolved.
Show resolved Hide resolved
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: /home/user/ascent/install-debug/lib/cmake/
container:
image: alpinedav/ascent:ascent-ubuntu-18_2021-10-23-shaba7872
steps:
- uses: actions/checkout@v2
- name: Configure
run: |
. ../s_env.sh && cmake -S . -B build \
-DWarpX_ASCENT=ON \
-DWarpX_COMPUTE=NOACC
- name: Build
run: |
. ../s_env.sh && cmake --build build -j 2