update abt-io documentation #129
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: build | |
on: [push,pull_request,workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup spack | |
uses: spack/[email protected] | |
with: | |
ref: develop | |
- name: Add mochi-spack-packages | |
run: | | |
git clone https://github.com/mochi-hpc/mochi-spack-packages | |
spack -e code repo add mochi-spack-packages | |
- name: Install Package from Spack | |
run: | | |
spack -e code install --fail-fast | |
- name: Show Spack installed packages for debugging | |
run: | | |
spack -e code find -dlv | |
- name: Build all the examples | |
run: | | |
eval `spack env activate --sh code` | |
mkdir build | |
cd build | |
cmake ../code | |
make |