Newer
Older
before_script: &before
- duneci-install-module https://gitlab.dune-project.org/extensions/dune-alugrid.git
- duneci-install-module https://gitlab.dune-project.org/extensions/dune-foamgrid.git
- duneci-install-module https://gitlab.dune-project.org/extensions/dune-vtk.git
- git clone https://ci:${NANOFLANN_ACCESS_TOKEN}@gitlab.dune-project.org/simon.praetorius/nanoflann.git /tmp/nanoflann
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_COMPILER=g++-12 -DCMAKE_INSTALL_PREFIX=/duneci/lib/nanoflann -B /tmp/nanoflann-build -S /tmp/nanoflann
- cmake --build /tmp/nanoflann-build && cmake --install /tmp/nanoflann-build
- git clone https://ci:${ALGLIB_ACCESS_TOKEN}@gitlab.dune-project.org/simon.praetorius/alglib.git /tmp/alglib
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_COMPILER=g++-12 -DCMAKE_INSTALL_PREFIX=/duneci/lib/alglib -B /tmp/alglib-build -S /tmp/alglib
- cmake --build /tmp/alglib-build && cmake --install /tmp/alglib-build
# Test with the master branch of the dependencies
#-------------------------------------------------
dune:git gcc-12 C++20:
image: registry.dune-project.org/docker/ci/dune:git-debian-12-gcc-12-20
tags: [duneci]
variables:
DUNECI_CMAKE_FLAGS: -Dalglib_DIR=/duneci/libs/alglib/share/cmake/alglib -Dnanoflann_DIR=/duneci/libs/nanoflann/share/cmake/nanoflann
before_script:
- *before
script: duneci-standard-test