Skip to content

fixed a couple of yokan codes #122

fixed a couple of yokan codes

fixed a couple of yokan codes #122

Workflow file for this run

name: build
on: [push,pull_request,workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install mpich
run: |
sudo apt install mpich libmpich-dev
- name: Add latest Spack release
run: |
git clone https://github.com/spack/spack.git /opt/spack
- name: Find external packages
run: |
cd code &&
eval `/opt/spack/bin/spack env activate --sh .` &&
/opt/spack/bin/spack external find --not-buildable cmake &&
/opt/spack/bin/spack external find --not-buildable perl &&
/opt/spack/bin/spack external find --not-buildable mpich
- name: Add mochi-spack-packages
run: |
git clone https://github.com/mochi-hpc/mochi-spack-packages /opt/spack/mochi-spack-packages
/opt/spack/bin/spack repo add /opt/spack/mochi-spack-packages
- name: Install Package from Spack
run: |
cd code &&
eval `/opt/spack/bin/spack env activate --sh .` &&
/opt/spack/bin/spack install --fail-fast
- name: Show Spack installed packages for debugging
run: |
cd code &&
eval `/opt/spack/bin/spack env activate --sh .` &&
/opt/spack/bin/spack find -dlv
- name: Build all the examples
run: |
cd code &&
eval `/opt/spack/bin/spack env activate --sh .` &&
mkdir build && cd build && cmake .. && make