Skip to content
Snippets Groups Projects
Commit de5c0d27 authored by Franck Pérignon's avatar Franck Pérignon
Browse files

Update .gitlab-ci.yml

parent 5d3ad4af
No related branches found
No related tags found
No related merge requests found
before_script:
- apt-get update -qq && apt-get install -y -qq python cmake python-dev libblas-dev liblapacke-dev libatlas-base-dev libatlas-dev gcc libgfortran3 libgcc1 libgcc-4.9-dev gfortran python-pip openmpi-bin libopenmpi-dev libhdf5-openmpi-dev python-numpy python-scipy python-pyopencl python-scitools libfftw3-dev libfftw3-mpi-dev python-pytest cython
- pip install --upgrade pip
- pip install --upgrade setuptools
- pip install mpi4py
- pip install sphinx
- pip install wheel
- wget https://pypi.python.org/packages/22/82/64dada5382a60471f85f16eb7d01cc1a9620aea855cd665609adf6fdbb0d/h5py-2.6.0.tar.gz
- tar -zxvf h5py-2.6.0.tar.gz
- cd h5py-2.6.0
- export CC=mpicc
- python setup.py configure --mpi --hdf5=/usr/
- python setup.py install
- cd ..
stages: stages:
- build - build
- test - test
...@@ -24,6 +8,19 @@ stages: ...@@ -24,6 +8,19 @@ stages:
build_job: build_job:
stage: build stage: build
script: script:
- apt-get update -qq && apt-get install -y -qq python cmake python-dev libblas-dev liblapacke-dev libatlas-base-dev libatlas-dev gcc libgfortran3 libgcc1 libgcc-4.9-dev gfortran python-pip openmpi-bin libopenmpi-dev libhdf5-openmpi-dev python-numpy python-scipy python-pyopencl python-scitools libfftw3-dev libfftw3-mpi-dev python-pytest cython
- pip install --upgrade pip
- pip install --upgrade setuptools
- pip install mpi4py
- pip install sphinx
- pip install wheel
- wget https://pypi.python.org/packages/22/82/64dada5382a60471f85f16eb7d01cc1a9620aea855cd665609adf6fdbb0d/h5py-2.6.0.tar.gz
- tar -zxvf h5py-2.6.0.tar.gz
- cd h5py-2.6.0
- export CC=mpicc
- python setup.py configure --mpi --hdf5=/usr/
- python setup.py install
- cd ..
- mkdir build/ - mkdir build/
- cd build - cd build
- cmake -D CMAKE_BUILD_TYPE=Debug -DWITH_LIB_CXX=OFF .. - cmake -D CMAKE_BUILD_TYPE=Debug -DWITH_LIB_CXX=OFF ..
...@@ -35,5 +32,4 @@ test_job: ...@@ -35,5 +32,4 @@ test_job:
script: script:
- make test - make test
dependencies: dependencies:
- build_job - build_job
\ No newline at end of file
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