Skip to content

Commit

Permalink
#123 improve CI output
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Sep 9, 2020
1 parent 009a72b commit 7670e00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7670e00

Please sign in to comment.