Commit c94f5ed1 authored by Lukas Riedel's avatar Lukas Riedel 📝

using new dorie/dune-env:2.5 Docker image for builds

parent f3dc3861
image: dorie/dune-env:2.4
image: dorie/dune-env:2.5
variables:
DUNE_CONTROL_PATH: /opt/dune:$CI_PROJECT_DIR
before_script:
- cd /opt/dune
- git clone https://gitlab.dune-project.org/staging/dune-functions.git
- git clone https://gitlab.dune-project.org/staging/dune-uggrid.git
- ./dune-common/bin/dunecontrol update || true
- ./dune-common/bin/dunecontrol --only=dune-common git checkout releases/2.5
- ./dune-common/bin/dunecontrol --only=dune-uggrid git checkout releases/2.5
- ./dune-common/bin/dunecontrol --only=dune-istl git checkout releases/2.5
- ./dune-common/bin/dunecontrol --only=dune-grid git checkout releases/2.5
- ./dune-common/bin/dunecontrol --only=dune-functions git checkout releases/2.5
- ./dune-common/bin/dunecontrol --only=dune-localfunctions git checkout releases/2.5
- ./dune-common/bin/dunecontrol --only=dune-geometry git checkout releases/2.5
- ./dune-common/bin/dunecontrol --only=dune-python git checkout releases/2.5
- ./dune-common/bin/dunecontrol --only=dune-testtools git checkout releases/2.5
- ./dune-common/bin/dunecontrol --only=dune-pdelab git checkout releases/2.5
- ./dune-common/bin/dunecontrol --only=dune-typetree git checkout master
stages:
- build
......@@ -28,7 +14,7 @@ build:main:
tags:
- docker
script:
- MAKE_FLAGS="-j 2" ./dune-common/bin/dunecontrol --module=dorie all
- MAKE_FLAGS="-j 2" ./dune-common/bin/dunecontrol --only=dorie all
- export PATH=/opt/dune/dorie/build-cmake/bin:$PATH
- ARGS="--output-on-failure -j 2" ./dune-common/bin/dunecontrol --only=dorie make test
- ./dune-common/bin/dunecontrol --only=dorie make doc
......@@ -46,7 +32,7 @@ build:python3:
- ./dune-common/bin/dunecontrol --only=dune-python exec "rm -rf build-cmake"
- ./dune-common/bin/dunecontrol --only=dune-testtools exec "rm -rf build-cmake"
- ./dune-common/bin/dunecontrol --only=dorie exec "rm -rf build-cmake"
- CMAKE_FLAGS="-DDUNE_FORCE_PYTHON3=True" MAKE_FLAGS="-j 2" ./dune-common/bin/dunecontrol all
- CMAKE_FLAGS="-DDUNE_FORCE_PYTHON3=True" MAKE_FLAGS="-j 2" ./dune-common/bin/dunecontrol --module=dorie all
- export PATH=/opt/dune/dorie/build-cmake/bin:$PATH
- ARGS="--output-on-failure -j 2" ./dune-common/bin/dunecontrol --only=dorie make test
stage: build
......@@ -66,7 +52,7 @@ build:debug:
tags:
- docker
script:
- CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=Debug" ./dune-common/bin/dunecontrol --module=dorie all
- CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=Debug" ./dune-common/bin/dunecontrol --only=dorie all
stage: build
deploy:docs:
......
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