message: Add release builds to ensure Ginkgo builds and works properly in release mode.
  For both gcc and clang, one build without CUDA and one with CUDA are tested.
diff: @@ -188,6 +188,48 @@ build/nocuda/gcc/omp/debug:
  <<: *default_variables
  BUILD_OMP: "ON"
  +# Release builds
  +build/cuda90/gcc/all/release:
  + <<: *default_build
  + image: localhost:5000/gko-cuda90-gnu5-llvm39
  + variables:
  + <<: *default_variables
  + BUILD_OMP: "ON"
  + BUILD_CUDA: "ON"
  + BUILD_TYPE: Release
  + EXTRA_CMAKE_FLAGS: &cuda_flags
  + -DCUDA_ARCHITECTURES=35
  +
  +build/cuda90/clang/all/release:
  + <<: *default_build
  + image: localhost:5000/gko-cuda90-gnu5-llvm39
  + variables:
  + <<: *default_variables
  + C_COMPILER: clang
  + CXX_COMPILER: clang++
  + BUILD_OMP: "ON"
  + BUILD_CUDA: "ON"
  + BUILD_TYPE: Release
  + EXTRA_CMAKE_FLAGS: *cuda_flags
  +
  +build/nocuda/gcc/omp/release:
  + <<: *default_build
  + image: localhost:5000/gko-nocuda-gnu8-llvm70
  + variables:
  + <<: *default_variables
  + BUILD_OMP: "ON"
  + BUILD_TYPE: Release
  +
  +build/nocuda/clang/omp/release:
  + <<: *default_build
  + image: localhost:5000/gko-nocuda-gnu8-llvm70
  + variables:
  + <<: *default_variables
  + C_COMPILER: clang
  + CXX_COMPILER: clang++
  + BUILD_OMP: "ON"
  + BUILD_TYPE: Release
  +
  # Test jobs
  test/cuda90/gcc/all/debug:
  @@ -260,6 +302,31 @@ test/nocuda/gcc/omp/debug:
  dependencies:
  - build/nocuda/gcc/omp/debug
  +# Release tests
  +test/cuda90/gcc/all/release:
  + <<: *default_test
  + image: localhost:5000/gko-cuda90-gnu5-llvm39
  + dependencies:
  + - build/cuda90/gcc/all/release
  +
  +test/cuda90/clang/all/release:
  + <<: *default_test
  + image: localhost:5000/gko-cuda90-gnu5-llvm39
  + dependencies:
  + - build/cuda90/clang/all/release
  +
  +test/nocuda/gcc/omp/release:
  + <<: *default_test
  + image: localhost:5000/gko-nocuda-gnu8-llvm70
  + dependencies:
  + - build/nocuda/gcc/omp/release
  +
  +test/nocuda/clang/omp/release:
  + <<: *default_test
  + image: localhost:5000/gko-nocuda-gnu8-llvm70
  + dependencies:
  + - build/nocuda/clang/omp/release
  +
  # Deploy documentation to github-pages
  gh-pages:
  