Enabling the Tioga adaptive hole map option for the hybrid solver #158
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: Exawind-CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
Formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: DoozyX/[email protected] | |
with: | |
source: './app ./src' | |
exclude: '.' | |
extensions: 'H,h,cpp' | |
clangFormatVersion: 13 | |
CPU: | |
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 && \ | |
quick-create -n ci -s exawind@master && \ | |
spack cd -e && \ | |
ln -s ${GITHUB_WORKSPACE} exawind && \ | |
spack develop exawind@master && \ | |
spack manager external --latest --blacklist gmake exawind | |
spack install && \ | |
spack cd -b exawind && \ | |
spack build-env exawind ctest -j $(nproc) --output-on-failure \ | |
" |