Skip to content
Snippets Groups Projects
Commit edfa6200 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Make MPI available during Github examples CI

parent 4a84ab5a
No related branches found
No related tags found
No related merge requests found
...@@ -31,10 +31,9 @@ jobs: ...@@ -31,10 +31,9 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: "Main Script" - name: "Main Script"
run: | run: |
set -e
sed 's/python=3/python=2.7/' .test-conda-env-py3.yml > .test-conda-env-py2.yml sed 's/python=3/python=2.7/' .test-conda-env-py3.yml > .test-conda-env-py2.yml
cat .test-conda-env-py2.yml grep -v mpi4py .test-conda-env-py2.yml > .test-conda-env.yml
CONDA_ENVIRONMENT=.test-conda-env-py2.yml CONDA_ENVIRONMENT=.test-conda-env.yml
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh
. ./build-and-test-py-project-within-miniconda.sh . ./build-and-test-py-project-within-miniconda.sh
...@@ -45,8 +44,7 @@ jobs: ...@@ -45,8 +44,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: "Main Script" - name: "Main Script"
run: | run: |
set -e grep -v mpi4py .test-conda-env-py3.yml > .test-conda-env.yml
grep -v symengine .test-conda-env-py3.yml > .test-conda-env.yml
CONDA_ENVIRONMENT=.test-conda-env.yml CONDA_ENVIRONMENT=.test-conda-env.yml
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh
. ./build-and-test-py-project-within-miniconda.sh . ./build-and-test-py-project-within-miniconda.sh
...@@ -58,7 +56,8 @@ jobs: ...@@ -58,7 +56,8 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: "Main Script" - name: "Main Script"
run: | run: |
set -e sudo apt-get udpate
sudo apt-get install openmpi-bin libopenmpi-dev
grep -v symengine .test-conda-env-py3.yml > .test-conda-env.yml grep -v symengine .test-conda-env-py3.yml > .test-conda-env.yml
CONDA_ENVIRONMENT=.test-conda-env.yml CONDA_ENVIRONMENT=.test-conda-env.yml
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-py-project-within-miniconda.sh curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-py-project-within-miniconda.sh
......
...@@ -20,3 +20,4 @@ dependencies: ...@@ -20,3 +20,4 @@ dependencies:
- git+https://github.com/inducer/dagrt - git+https://github.com/inducer/dagrt
- git+https://github.com/inducer/leap - git+https://github.com/inducer/leap
- git+https://github.com/inducer/pyvisfile - git+https://github.com/inducer/pyvisfile
- mpi4py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment