Skip to content

Commit afd22b6

Browse files
committed
ENH: Test the example build.
1 parent 5037ad7 commit afd22b6

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

test/Docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ RUN apt-get update && apt-get install -y \
2121
RUN mkdir -p /usr/src/ITKMinimalPathExtraction-build
2222
WORKDIR /usr/src
2323

24-
# 2015-09-17
25-
ENV ITK_GIT_TAG af1a72fc24ad8e58be0e9af71d791043dcdbca1a
24+
# 2015-10-13
25+
ENV ITK_GIT_TAG 3b9767eeb61ed1e20cd6018a40b5a91868dade04
2626
RUN git clone git://itk.org/ITK.git && \
2727
cd ITK && \
2828
git checkout ${ITK_GIT_TAG} && \

test/Docker/test.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,13 @@ cmake \
1616
-DCMAKE_BUILD_TYPE:STRING=Release \
1717
/usr/src/ITKMinimalPathExtraction || die "CMake configuration failed"
1818
ctest -VV -D Experimental || die "ctest failed"
19+
20+
examples_build_dir=/usr/src/ITKMinimalPathExtraction-build/examples
21+
mkdir -p $examples_build_dir
22+
cd $examples_build_dir
23+
cmake \
24+
-G Ninja \
25+
-DITK_DIR:PATH=/usr/src/ITK-build \
26+
-DCMAKE_BUILD_TYPE:STRING=Release \
27+
/usr/src/ITKMinimalPathExtraction/examples || die "Example CMake configuration failed"
28+
ninja || die "examples build failed"

0 commit comments

Comments
 (0)