Oscillating mesh motion #1703
Workflow file for this run
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@v4 | |
- name: Check formatting | |
uses: DoozyX/[email protected] | |
with: | |
source: 'nalu.C unit_tests.C ./include ./src ./unit_tests' | |
extensions: 'H,h,cpp,C' | |
clangFormatVersion: 18 | |
CPU-Trilinos: | |
needs: Formatting | |
runs-on: ubuntu-latest | |
container: | |
image: ecpe4s/exawind-snapshot | |
env: | |
EXAWIND_MANAGER: /exawind-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 ${EXAWIND_MANAGER}/start.sh && \ | |
spack-start && \ | |
mkdir -p ${EXAWIND_MANAGER}/environments/exawind && \ | |
cd ${EXAWIND_MANAGER}/environments/exawind && \ | |
ln -s ${GITHUB_WORKSPACE} nalu-wind && \ | |
spack -e e4s-build config add view:true && \ | |
spack -e e4s-build add cmake^zlib-ng~new_strategies && \ | |
spack -e e4s-build concretize -f && \ | |
quick-create-dev -s nalu-wind@master+tioga+hypre && \ | |
spack manager external ${EXAWIND_MANAGER}/environments/e4s-build --exclude nalu-wind && \ | |
spack concretize -f && \ | |
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: | |
EXAWIND_MANAGER: /exawind-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 ${EXAWIND_MANAGER}/start.sh && \ | |
spack-start && \ | |
mkdir -p ${EXAWIND_MANAGER}/environments/exawind && \ | |
cd ${EXAWIND_MANAGER}/environments/exawind && \ | |
ln -s ${GITHUB_WORKSPACE} nalu-wind && \ | |
spack -e e4s-build config add view:true && \ | |
spack -e e4s-build add cmake^zlib-ng~new_strategies && \ | |
spack -e e4s-build concretize -f && \ | |
quick-create-dev -s nalu-wind@master+tioga+hypre~trilinos-solvers && \ | |
spack manager external ${EXAWIND_MANAGER}/environments/e4s-build --exclude nalu-wind && \ | |
spack concretize -f && \ | |
spack install && \ | |
spack cd -b nalu-wind && \ | |
spack build-env nalu-wind ctest -j $(nproc) -L unit --output-on-failure \ | |
" |