diff --git a/appveyor.yml b/appveyor.yml index b170ef13..8c20420c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,6 +25,8 @@ build_script: msbuild check.vcxproj /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" msbuild PACKAGE.vcxproj /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" + + .\Release\testlight.exe artifacts: - path: cmakebuild\*.zip deploy: diff --git a/build-linux-64.sh b/build-linux-64.sh index 4ca110b1..1c1f2c81 100755 --- a/build-linux-64.sh +++ b/build-linux-64.sh @@ -13,8 +13,12 @@ wget https://github.com/embree/embree/releases/download/v2.14.0/embree-2.14.0.x8 tar xf embree.tgz cmake .. -DCMAKE_BUILD_TYPE=Release -Dembree_DIR="$(pwd)/embree-2.14.0.x86_64.linux/lib/cmake/embree-2.14.0" make -j8 VERBOSE=1 +make -j8 VERBOSE=1 check cpack +# run tests +./testlight/testlight || exit 1 + # check rpath readelf -d ./light/light unzip -X tyrutils-*.zip diff --git a/build-osx.sh b/build-osx.sh index 16e8888b..3271f8d7 100755 --- a/build-osx.sh +++ b/build-osx.sh @@ -18,5 +18,8 @@ tar xf "$EMBREE_TGZ_NAME" EMBREE_CMAKE_DIR="$(pwd)/$EMBREE_DIR_NAME/lib/cmake/$EMBREE_WITH_VERSION" cmake .. -DCMAKE_BUILD_TYPE=Release -Dembree_DIR="$EMBREE_CMAKE_DIR" make -j8 +make -j8 check cpack +# run tests +./testlight/testlight || exit 1