Commit b978f0e3 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

allow parallel execution of runner tasks

parent e0f34db5
......@@ -5,31 +5,41 @@ before_script:
variables:
GIT_SUBMODULE_STRATEGY: recursive
DUNECI_PARALLEL: 4
debian:10 gcc-8-17:
dune-2.6 debian-10 gcc-8-17:
image: registry.dune-project.org/docker/ci/dune:2.6-debian-10-gcc-8-17
script:
- dunecontrol --current all
- dunecontrol --current make build_tests
- dunecontrol --current make test
- dunecontrol --current make examples
debian:10 clang-6-libcpp-17:
image: registry.dune-project.org/docker/ci/dune:2.6-debian-10-clang-6-libcpp-17
script:
- duneci-standard-test
- dunecontrol --current make examples
- dunecontrol --current make -j4 examples
debian:9 gcc-6-14:
dune-2.6 debian-9 gcc-6-14:
image: registry.dune-project.org/docker/ci/dune:2.6-debian-9-gcc-6-14
script:
- dunecontrol --current all
- dunecontrol --current make build_tests
- dunecontrol --current make test
- dunecontrol --current make examples
- duneci-standard-test
- dunecontrol --current make -j4 examples
ubuntu:18.04 clang-6-17:
dune-2.6 ubuntu-18.04 clang-6-17:
image: registry.dune-project.org/docker/ci/dune:2.6-ubuntu-18.04-clang-6-17
script:
- duneci-standard-test
- dunecontrol --current make examples
- dunecontrol --current make -j4 examples
dune-git debian-10 gcc-8-17:
image: registry.dune-project.org/docker/ci/dune:git-debian-10-gcc-8-17
script:
- duneci-standard-test
- dunecontrol --current make -j4 examples
dune-git debian-9 gcc-6-14:
image: registry.dune-project.org/docker/ci/dune:git-debian-9-gcc-6-14
script:
- duneci-standard-test
- dunecontrol --current make -j4 examples
dune-git ubuntu-18.04 clang-6-17:
image: registry.dune-project.org/docker/ci/dune:git-ubuntu-18.04-clang-6-17
script:
- duneci-standard-test
- dunecontrol --current make -j4 examples
......@@ -207,16 +207,16 @@ namespace Impl {
decltype(auto) toVectorBackend(B const& basis, Vec& vec)
{
return Dune::Hybrid::ifElse(Dune::models<Dune::Functions::Concept::VectorBackend<B>, Vec>(),
[&](auto id) -> decltype(auto) { return vec; },
[&](auto id) -> decltype(auto) { return Dune::Functions::istlVectorBackend(vec); });
[&](auto id) -> decltype(auto) { return id(vec); },
[&](auto id) -> decltype(auto) { return Dune::Functions::istlVectorBackend(id(vec)); });
}
template <class B, class Vec>
decltype(auto) toConstVectorBackend(B const& basis, Vec const& vec)
{
return Dune::Hybrid::ifElse(Dune::models<Dune::Functions::Concept::ConstVectorBackend<B>, Vec>(),
[&](auto id) -> decltype(auto) { return vec; },
[&](auto id) -> decltype(auto) { return Dune::Functions::istlVectorBackend(vec); });
[&](auto id) -> decltype(auto) { return id(vec); },
[&](auto id) -> decltype(auto) { return Dune::Functions::istlVectorBackend(id(vec)); });
}
} // namespace Impl
......
Supports Markdown
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