Commit e1f6b232 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

fix ci

parent 23b7453d
Pipeline #3702 passed with stage
in 1 minute and 43 seconds
......@@ -20,8 +20,8 @@
# see <http://www.gnu.org/licenses/>.
mbtests :
image : immc/marblesbag-valid:v0.1
image : immc/marblesbag-valid:v0.2
script:
- make -j4
- make -j4 PETSC_DIR=/usr/lib/petsc PETSC_MPIUNI=0 CC=mpicc
- cd validation
- python mbtests.py
- PYTHONPATH=$(pwd)/python:$PYTHONPATH LD_PRELOAD=/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so python3 mbtests.py
FROM ubuntu:17.10
RUN apt update
RUN apt install -y git python3 petsc-dev
RUN apt install -y curl
RUN curl -O http://gmsh.info/bin/Linux/gmsh-3.0.6-Linux64.tgz && tar xf gmsh-3.0.6-Linux64.tgz && mv gmsh-3.0.6-Linux64/bin/gmsh /usr/local/bin
RUN apt install -y git python3 petsc-dev python3-numpy make gmsh
VOLUME ["/etc/gitlab-runner"]
......
# build image
docker build -t immc/marblesbag-valid:v0.1 .
docker build -t immc/marblesbag-valid:v0.2 .
# push image to docker-hub
docker login
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment