diff --git a/Dockerfile-ubuntu b/Dockerfile-ubuntu index 8ef3a45d..55c1cbad 100644 --- a/Dockerfile-ubuntu +++ b/Dockerfile-ubuntu @@ -66,14 +66,16 @@ RUN \ make && \ make install && \ export kokkos_cmake_str="-DKOKKOS_KERNELS_ENABLED=0 -Dkokkos_ENABLE=1 -Dkokkos_DIR=$KOKKOS_BUILD/install/lib"; \ - fi && \ + fi + +RUN \ cd $CHECKPOINT_BUILD && \ mkdir build && \ cd build && \ cmake -GNinja $kokkos_cmake_str -Dgtest_DIR=$GTEST_BUILD/install -DGTEST_ROOT=$GTEST_BUILD/install -DCHECKPOINT_BUILD_TESTS:BOOL=1 -DCMAKE_INSTALL_PREFIX=$CHECKPOINT_BUILD/install -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC -Ddetector_DIR=$DETECTOR_BUILD/install $CHECKPOINT && \ ninja && \ ninja install && \ - ninja test + ctest --output-on-failure COPY $DETECTOR_BUILD/ $DETECTOR_BUILD COPY $CHECKPOINT_BUILD/ $CHECKPOINT_BUILD