add a Jobfile #12
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: amrex-bittree | |
on: | |
push: | |
branches: | |
- development | |
paths-ignore: | |
- '**.rst' | |
- '**.md' | |
- 'LICENSE' | |
- 'CITATION' | |
jobs: | |
setup-submit: | |
name: "setup-submit" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update -y && apt-get install -y apt-utils && apt-get upgrade -y | |
sudo apt-get install -y libhdf5-openmpi-dev openmpi-bin | |
sudo apt-get install -y python3 python3-dev python3-pip | |
sudo apt-get install -y python-is-python3 | |
- name: Install Jobrunner | |
run: | | |
python3 setup.py develop --user | |
export PATH=$PATH:$HOME/.local/bin | |
- name: Clone External Repo | |
run: | | |
git clone https://github.com/Lab-Notebooks/AMReX-Bittree-Performance | |
- name: Configure Site | |
run: | | |
ln -s $(realpath tests/AMReX-Bittree-Performance/sites/test) AMReX-Bittree-Performance/sites/test | |
ln -sf $(realpath tests/AMReX-Bittree-Performance/Jobfile) AMReX-Bittree-Performance/Jobfile | |
cd AMReX-Bittree-Performance | |
./configure -s test | |
- name: Setup Bittree | |
run: | | |
cd AMReX-Bittree-Performance | |
cat Jobfile |