Skip to content

Merge pull request #33 from boutproject/more-6 #57

Merge pull request #33 from boutproject/more-6

Merge pull request #33 from boutproject/more-6 #57

Workflow file for this run

name: MMS Test
on: [push]
jobs:
standard_tests:
name: Tests with ${{ matrix.config.name }}
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: oi4ai/bout3d:latest-${{ matrix.config.mode }}
strategy:
fail-fast: false
matrix:
config:
- name: debugging
mode: debug
- name: optimisations
mode: opt
steps:
- name: Job information
run: |
echo Build: ${{ matrix.config.name }}
cat /etc/os-release
- name: Checkout hermes-2
run: |
cd /home/boutuser/
git clone ${{ github.server_url }}/${{ github.repository }} -b ${{ github.ref_name }} zoidberg
cd zoidberg
git checkout ${{ github.sha }}
git submodule update --init --recursive
- name: Build
run: |
export HOME=/home/boutuser
cd /home/boutuser/zoidberg
python3 -m ensurepip
python3 -m pip install .
python3 -m pip install xarray
- name: Run
run: |
export HOME=/home/boutuser
export PYTHONPATH=/home/boutuser/BOUT-dev/build/tools/pylib/
export LD_LIBRARY_PATH=/usr/lib64/mpich/lib
cd /home/boutuser/zoidberg/test/mms/
# Run test
make