Skip to content

Add ghex

Add ghex #23

Workflow file for this run

name: test-oomph
on:
push:
pull_request:
branches:
- main
jobs:
spack-install:
runs-on: ubuntu-latest
container: boeschf/ghex-org
defaults:
run:
shell: bash
steps:
- name: checkout
uses: actions/checkout@v3
# export OpenMPI environment variables: allow to run as root
- name: set env
run: |
echo "OMPI_ALLOW_RUN_AS_ROOT=1" >> $GITHUB_ENV
echo "OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1" >> $GITHUB_ENV
- name: build and test
run: |
. /opt/spack/share/spack/setup-env-clean.sh
spack repo add .
spack spec -I oomph
# need `--dirty` here for environment variables to propagate
spack install --dirty --test=root --verbose --show-log-on-error oomph