Skip to content
Snippets Groups Projects
Commit c6cf36f7 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

Merge branch 'gitlab-ci' into 'master'

initial gitlab-ci

See merge request !3
parents f8b16721 f61446b6
No related branches found
No related tags found
No related merge requests found
makegmsh:
image : immc/gmsh:v0.4
script:
- mkdir build
- cd build
- cmake .. -DENABLE_CXX11=1
- make -j4
- ctest --output-on-failure
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y cmake curl g++ gfortran libfltk1.3-dev libfreetype6-dev libgl1-mesa-dev liblapack-dev libxi-dev libxmu-dev mesa-common-dev tcl-dev tk-dev
RUN curl -L -o occ71.tgz "http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_1_0;sf=tgz"
RUN tar xf occ71.tgz
RUN cd occt-V7_1_0 && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_MODULE_Draw=0 -DBUILD_MODULE_Visualization=0 -DBUILD_MODULE_ApplicationFramework=0 .. && cat CMakeCache.txt && make -j8
RUN cd occt-V7_1_0/build && make install
VOLUME ["/etc/gitlab-runner"]
RUN useradd -ms /bin/bash validator
USER validator
WORKDIR /home/validator
# build image
docker build -t immc/gmsh:v0.4 .
# push image to docker-hub
docker login
docker push immc/dg-valid
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