Skip to content

remove Kokkos directive #1275

remove Kokkos directive

remove Kokkos directive #1275

Workflow file for this run

name: Nalu-Wind-CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
Formatting:
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v3
- name: Check formatting
uses: DoozyX/[email protected]
with:
source: '. ./include ./src ./unit_tests'
exclude: './docs'
extensions: 'H,h,cpp,C'
clangFormatVersion: 13
CPU-Trilinos:
needs: Formatting
runs-on: ubuntu-latest
container:
image: ecpe4s/exawind-snapshot
env:
SPACK_MANAGER: /spack-manager
E4S_MACHINE: true
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{github.token}}
- name: Clone
uses: actions/checkout@v3
with:
submodules: true
- name: Tests
run: |
/bin/bash -c " \
source ${SPACK_MANAGER}/start.sh && \
mkdir -p ${SPACK_MANAGER}/environments/exawind && \
cd ${SPACK_MANAGER}/environments/exawind && \
ln -s ${GITHUB_WORKSPACE} nalu-wind && \
source ${SPACK_MANAGER}/start.sh && \
quick-create-dev -s nalu-wind@master+tioga+hypre && \
spack manager external --latest --blacklist nalu-wind gmake && \
spack install && \
spack cd -b nalu-wind && \
spack build-env nalu-wind ctest -j $(nproc) -L unit --output-on-failure \
"
CPU-Hypre-Only:
needs: Formatting
runs-on: ubuntu-latest
container:
image: ecpe4s/exawind-snapshot
env:
SPACK_MANAGER: /spack-manager
E4S_MACHINE: true
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{github.token}}
- name: Clone
uses: actions/checkout@v3
with:
submodules: true
- name: Tests
run: |
/bin/bash -c " \
source ${SPACK_MANAGER}/start.sh && \
mkdir -p ${SPACK_MANAGER}/environments/exawind && \
cd ${SPACK_MANAGER}/environments/exawind && \
ln -s ${GITHUB_WORKSPACE} nalu-wind && \
source ${SPACK_MANAGER}/start.sh && \
quick-create-dev -s nalu-wind@master+tioga+hypre~trilinos-solvers && \
spack manager external --latest --blacklist nalu-wind gmake && \
spack install && \
spack cd -b nalu-wind && \
spack build-env nalu-wind ctest -j $(nproc) -L unit --output-on-failure \
"