Fixes errors in ghosting update for some overset mesh problems. (#1214) #1404
This file contains 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
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: 'nalu.C unit_tests.C ./include ./src ./unit_tests' | |
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 \ | |
" |