added mofka to daily build #36
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-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install mpich | |
run: | | |
sudo apt install mpich libmpich-dev bsd-mailx | |
sudo apt install libpython3-dev python3-dev | |
sudo apt install libssl-dev libncurses-dev | |
sudo apt install python3-numpy | |
- name: Add latest Spack release | |
run: | | |
git clone https://github.com/spack/spack.git /opt/spack | |
- name: Find external packages | |
run: | | |
/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 && | |
/opt/spack/bin/spack external find --not-buildable python && | |
/opt/spack/bin/spack external find --not-buildable openssl && | |
/opt/spack/bin/spack external find --not-buildable ncurses | |
- 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: Build all mochi packages | |
run: | | |
ci/github-build.sh |