Loading .gitlab-ci.yml +188 −21 Original line number Diff line number Diff line Loading @@ -14,15 +14,16 @@ stages: # default flags for cmake .default_cmake_flags_def: &default_cmake_flags # architectures WITH_OPENMP: "no" WITH_CUDA: "no" WITH_CUDA_ARCH: "auto" WITH_MIC: "no" WITH_MPI: "no" WITH_TESTS: "yes" # configurations WITH_TESTS: "no" WITH_COVERAGE: "no" WITH_DOC: "no" # these are built only in the "full" config WITH_BENCHMARKS: "no" WITH_EXAMPLES: "no" WITH_TOOLS: "no" Loading Loading @@ -66,7 +67,9 @@ stages: # - make install # - make test - ninja ${NINJAFLAGS} install - ninja test - if [[ ${WITH_TESTS} == "yes" ]]; then ninja test; fi - popd variables: <<: *default_cmake_flags Loading @@ -77,7 +80,19 @@ stages: # Similarly, release builds are launched first to avoid the tail effect (they take # significantly more time than debug builds). cuda_full_Release: cuda_tests_Debug: <<: *build_template tags: - openmp - gpu variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Debug WITH_TESTS: "yes" cuda_tests_Release: <<: *build_template tags: - openmp Loading @@ -87,21 +102,78 @@ cuda_full_Release: WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Release WITH_BENCHMARKS: "yes" WITH_TESTS: "yes" cuda_examples_Debug: <<: *build_template tags: - openmp - gpu variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Debug WITH_EXAMPLES: "yes" cuda_examples_Release: <<: *build_template tags: - openmp - gpu variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Release WITH_EXAMPLES: "yes" cuda_benchmarks_tools_python_Debug: <<: *build_template tags: - openmp - gpu variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" cuda_base_Release: cuda_benchmarks_tools_python_Release: <<: *build_template tags: - openmp - gpu variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Release WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" cuda_mpi_Release: cuda_mpi_tests_Debug: <<: *build_template tags: - openmp - gpu - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_TESTS: "yes" cuda_mpi_tests_Release: <<: *build_template tags: - openmp Loading @@ -113,32 +185,55 @@ cuda_mpi_Release: WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_TESTS: "yes" cuda_full_Debug: cuda_mpi_examples_Debug: <<: *build_template tags: - openmp - gpu - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_EXAMPLES: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" cuda_base_Debug: cuda_mpi_examples_Release: <<: *build_template tags: - openmp - gpu - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_EXAMPLES: "yes" cuda_mpi_benchmarks_tools_python_Debug: <<: *build_template tags: - openmp - gpu - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" cuda_mpi_Debug: cuda_mpi_benchmarks_tools_python_Release: <<: *build_template tags: - openmp Loading @@ -149,19 +244,63 @@ cuda_mpi_Debug: WITH_OPENMP: "yes" WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" default_tests_Debug: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Debug WITH_TESTS: "yes" default_tests_Release: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Release WITH_TESTS: "yes" default_base_Debug: default_examples_Debug: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Debug WITH_EXAMPLES: "yes" default_base_Release: default_examples_Release: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Release WITH_EXAMPLES: "yes" default_mpi_Debug: default_benchmarks_tools_python_Debug: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" default_benchmarks_tools_python_Release: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Release WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" mpi_tests_Debug: <<: *build_template tags: - openmp Loading @@ -171,8 +310,9 @@ default_mpi_Debug: WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_TESTS: "yes" default_mpi_Release: mpi_tests_Release: <<: *build_template tags: - openmp Loading @@ -182,29 +322,56 @@ default_mpi_Release: WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_TESTS: "yes" default_full_Debug: mpi_examples_Debug: <<: *build_template tags: - openmp - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_EXAMPLES: "yes" mpi_examples_Release: <<: *build_template tags: - openmp - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_EXAMPLES: "yes" mpi_benchmarks_tools_python_Debug: <<: *build_template tags: - openmp - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" default_full_Release: mpi_benchmarks_tools_python_Release: <<: *build_template tags: - openmp - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_BENCHMARKS: "yes" WITH_EXAMPLES: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" Loading
.gitlab-ci.yml +188 −21 Original line number Diff line number Diff line Loading @@ -14,15 +14,16 @@ stages: # default flags for cmake .default_cmake_flags_def: &default_cmake_flags # architectures WITH_OPENMP: "no" WITH_CUDA: "no" WITH_CUDA_ARCH: "auto" WITH_MIC: "no" WITH_MPI: "no" WITH_TESTS: "yes" # configurations WITH_TESTS: "no" WITH_COVERAGE: "no" WITH_DOC: "no" # these are built only in the "full" config WITH_BENCHMARKS: "no" WITH_EXAMPLES: "no" WITH_TOOLS: "no" Loading Loading @@ -66,7 +67,9 @@ stages: # - make install # - make test - ninja ${NINJAFLAGS} install - ninja test - if [[ ${WITH_TESTS} == "yes" ]]; then ninja test; fi - popd variables: <<: *default_cmake_flags Loading @@ -77,7 +80,19 @@ stages: # Similarly, release builds are launched first to avoid the tail effect (they take # significantly more time than debug builds). cuda_full_Release: cuda_tests_Debug: <<: *build_template tags: - openmp - gpu variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Debug WITH_TESTS: "yes" cuda_tests_Release: <<: *build_template tags: - openmp Loading @@ -87,21 +102,78 @@ cuda_full_Release: WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Release WITH_BENCHMARKS: "yes" WITH_TESTS: "yes" cuda_examples_Debug: <<: *build_template tags: - openmp - gpu variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Debug WITH_EXAMPLES: "yes" cuda_examples_Release: <<: *build_template tags: - openmp - gpu variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Release WITH_EXAMPLES: "yes" cuda_benchmarks_tools_python_Debug: <<: *build_template tags: - openmp - gpu variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" cuda_base_Release: cuda_benchmarks_tools_python_Release: <<: *build_template tags: - openmp - gpu variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" BUILD_TYPE: Release WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" cuda_mpi_Release: cuda_mpi_tests_Debug: <<: *build_template tags: - openmp - gpu - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_TESTS: "yes" cuda_mpi_tests_Release: <<: *build_template tags: - openmp Loading @@ -113,32 +185,55 @@ cuda_mpi_Release: WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_TESTS: "yes" cuda_full_Debug: cuda_mpi_examples_Debug: <<: *build_template tags: - openmp - gpu - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_EXAMPLES: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" cuda_base_Debug: cuda_mpi_examples_Release: <<: *build_template tags: - openmp - gpu - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_EXAMPLES: "yes" cuda_mpi_benchmarks_tools_python_Debug: <<: *build_template tags: - openmp - gpu - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" cuda_mpi_Debug: cuda_mpi_benchmarks_tools_python_Release: <<: *build_template tags: - openmp Loading @@ -149,19 +244,63 @@ cuda_mpi_Debug: WITH_OPENMP: "yes" WITH_CUDA: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" default_tests_Debug: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Debug WITH_TESTS: "yes" default_tests_Release: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Release WITH_TESTS: "yes" default_base_Debug: default_examples_Debug: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Debug WITH_EXAMPLES: "yes" default_base_Release: default_examples_Release: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Release WITH_EXAMPLES: "yes" default_mpi_Debug: default_benchmarks_tools_python_Debug: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" default_benchmarks_tools_python_Release: <<: *build_template variables: <<: *default_cmake_flags BUILD_TYPE: Release WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" mpi_tests_Debug: <<: *build_template tags: - openmp Loading @@ -171,8 +310,9 @@ default_mpi_Debug: WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_TESTS: "yes" default_mpi_Release: mpi_tests_Release: <<: *build_template tags: - openmp Loading @@ -182,29 +322,56 @@ default_mpi_Release: WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_TESTS: "yes" default_full_Debug: mpi_examples_Debug: <<: *build_template tags: - openmp - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_EXAMPLES: "yes" mpi_examples_Release: <<: *build_template tags: - openmp - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_EXAMPLES: "yes" mpi_benchmarks_tools_python_Debug: <<: *build_template tags: - openmp - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Debug WITH_BENCHMARKS: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes" default_full_Release: mpi_benchmarks_tools_python_Release: <<: *build_template tags: - openmp - mpi variables: <<: *default_cmake_flags WITH_OPENMP: "yes" WITH_MPI: "yes" BUILD_TYPE: Release WITH_BENCHMARKS: "yes" WITH_EXAMPLES: "yes" WITH_TOOLS: "yes" WITH_PYTHON: "yes"