build: run 'testlight' on the ci servers
This commit is contained in:
parent
192ffe7215
commit
54abf89ecf
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue